AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateTargetAccountConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fis/FISRequest.h>
10#include <aws/fis/FIS_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace FIS {
16namespace Model {
17
21 public:
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateTargetAccountConfiguration"; }
29
30 AWS_FIS_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetClientToken() const { return m_clientToken; }
38 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
39 template <typename ClientTokenT = Aws::String>
40 void SetClientToken(ClientTokenT&& value) {
41 m_clientTokenHasBeenSet = true;
42 m_clientToken = std::forward<ClientTokenT>(value);
43 }
44 template <typename ClientTokenT = Aws::String>
46 SetClientToken(std::forward<ClientTokenT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetExperimentTemplateId() const { return m_experimentTemplateId; }
56 inline bool ExperimentTemplateIdHasBeenSet() const { return m_experimentTemplateIdHasBeenSet; }
57 template <typename ExperimentTemplateIdT = Aws::String>
58 void SetExperimentTemplateId(ExperimentTemplateIdT&& value) {
59 m_experimentTemplateIdHasBeenSet = true;
60 m_experimentTemplateId = std::forward<ExperimentTemplateIdT>(value);
61 }
62 template <typename ExperimentTemplateIdT = Aws::String>
64 SetExperimentTemplateId(std::forward<ExperimentTemplateIdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetAccountId() const { return m_accountId; }
74 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
75 template <typename AccountIdT = Aws::String>
76 void SetAccountId(AccountIdT&& value) {
77 m_accountIdHasBeenSet = true;
78 m_accountId = std::forward<AccountIdT>(value);
79 }
80 template <typename AccountIdT = Aws::String>
82 SetAccountId(std::forward<AccountIdT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
92 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
93 template <typename RoleArnT = Aws::String>
94 void SetRoleArn(RoleArnT&& value) {
95 m_roleArnHasBeenSet = true;
96 m_roleArn = std::forward<RoleArnT>(value);
97 }
98 template <typename RoleArnT = Aws::String>
100 SetRoleArn(std::forward<RoleArnT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetDescription() const { return m_description; }
110 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
111 template <typename DescriptionT = Aws::String>
112 void SetDescription(DescriptionT&& value) {
113 m_descriptionHasBeenSet = true;
114 m_description = std::forward<DescriptionT>(value);
115 }
116 template <typename DescriptionT = Aws::String>
118 SetDescription(std::forward<DescriptionT>(value));
119 return *this;
120 }
122 private:
124
125 Aws::String m_experimentTemplateId;
126
127 Aws::String m_accountId;
128
129 Aws::String m_roleArn;
130
131 Aws::String m_description;
132 bool m_clientTokenHasBeenSet = true;
133 bool m_experimentTemplateIdHasBeenSet = false;
134 bool m_accountIdHasBeenSet = false;
135 bool m_roleArnHasBeenSet = false;
136 bool m_descriptionHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace FIS
141} // namespace Aws
AWS_FIS_API Aws::String SerializePayload() const override
CreateTargetAccountConfigurationRequest & WithAccountId(AccountIdT &&value)
CreateTargetAccountConfigurationRequest & WithExperimentTemplateId(ExperimentTemplateIdT &&value)
CreateTargetAccountConfigurationRequest & WithDescription(DescriptionT &&value)
CreateTargetAccountConfigurationRequest & WithClientToken(ClientTokenT &&value)
CreateTargetAccountConfigurationRequest & WithRoleArn(RoleArnT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String