AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TargetAccountConfigurationSummary.h
1
6#pragma once
7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FIS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_FIS_API TargetAccountConfigurationSummary() = default;
39
40
42
45 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
46 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
47 template<typename RoleArnT = Aws::String>
48 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
49 template<typename RoleArnT = Aws::String>
50 TargetAccountConfigurationSummary& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetAccountId() const { return m_accountId; }
58 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
59 template<typename AccountIdT = Aws::String>
60 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
61 template<typename AccountIdT = Aws::String>
62 TargetAccountConfigurationSummary& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDescription() const { return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 template<typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
73 template<typename DescriptionT = Aws::String>
74 TargetAccountConfigurationSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
76 private:
77
78 Aws::String m_roleArn;
79 bool m_roleArnHasBeenSet = false;
80
81 Aws::String m_accountId;
82 bool m_accountIdHasBeenSet = false;
83
84 Aws::String m_description;
85 bool m_descriptionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace FIS
90} // namespace Aws
TargetAccountConfigurationSummary & WithAccountId(AccountIdT &&value)
AWS_FIS_API TargetAccountConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_FIS_API TargetAccountConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TargetAccountConfigurationSummary & WithDescription(DescriptionT &&value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
TargetAccountConfigurationSummary & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue