AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
TargetAccountConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fis/FIS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace FIS {
20namespace Model {
21
28 public:
29 AWS_FIS_API TargetAccountConfiguration() = default;
33
35
38 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
39 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
40 template <typename RoleArnT = Aws::String>
41 void SetRoleArn(RoleArnT&& value) {
42 m_roleArnHasBeenSet = true;
43 m_roleArn = std::forward<RoleArnT>(value);
44 }
45 template <typename RoleArnT = Aws::String>
47 SetRoleArn(std::forward<RoleArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetAccountId() const { return m_accountId; }
57 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
58 template <typename AccountIdT = Aws::String>
59 void SetAccountId(AccountIdT&& value) {
60 m_accountIdHasBeenSet = true;
61 m_accountId = std::forward<AccountIdT>(value);
62 }
63 template <typename AccountIdT = Aws::String>
65 SetAccountId(std::forward<AccountIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_roleArn;
89
90 Aws::String m_accountId;
91
92 Aws::String m_description;
93 bool m_roleArnHasBeenSet = false;
94 bool m_accountIdHasBeenSet = false;
95 bool m_descriptionHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace FIS
100} // namespace Aws
TargetAccountConfiguration & WithRoleArn(RoleArnT &&value)
AWS_FIS_API TargetAccountConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FIS_API TargetAccountConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
TargetAccountConfiguration & WithAccountId(AccountIdT &&value)
TargetAccountConfiguration & WithDescription(DescriptionT &&value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIS_API TargetAccountConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue