AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateTargetAccountConfigurationRequest.h
1
6#pragma once
7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/fis/FISRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace FIS
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateTargetAccountConfiguration"; }
32
33 AWS_FIS_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetClientToken() const { return m_clientToken; }
42 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
43 template<typename ClientTokenT = Aws::String>
44 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
45 template<typename ClientTokenT = Aws::String>
46 CreateTargetAccountConfigurationRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
48
50
53 inline const Aws::String& GetExperimentTemplateId() const { return m_experimentTemplateId; }
54 inline bool ExperimentTemplateIdHasBeenSet() const { return m_experimentTemplateIdHasBeenSet; }
55 template<typename ExperimentTemplateIdT = Aws::String>
56 void SetExperimentTemplateId(ExperimentTemplateIdT&& value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId = std::forward<ExperimentTemplateIdT>(value); }
57 template<typename ExperimentTemplateIdT = Aws::String>
58 CreateTargetAccountConfigurationRequest& WithExperimentTemplateId(ExperimentTemplateIdT&& value) { SetExperimentTemplateId(std::forward<ExperimentTemplateIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetAccountId() const { return m_accountId; }
66 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
67 template<typename AccountIdT = Aws::String>
68 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
69 template<typename AccountIdT = Aws::String>
70 CreateTargetAccountConfigurationRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
72
74
77 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
78 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
79 template<typename RoleArnT = Aws::String>
80 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
81 template<typename RoleArnT = Aws::String>
82 CreateTargetAccountConfigurationRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
84
86
89 inline const Aws::String& GetDescription() const { return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 template<typename DescriptionT = Aws::String>
92 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
93 template<typename DescriptionT = Aws::String>
94 CreateTargetAccountConfigurationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
96 private:
97
99 bool m_clientTokenHasBeenSet = true;
100
101 Aws::String m_experimentTemplateId;
102 bool m_experimentTemplateIdHasBeenSet = false;
103
104 Aws::String m_accountId;
105 bool m_accountIdHasBeenSet = false;
106
107 Aws::String m_roleArn;
108 bool m_roleArnHasBeenSet = false;
109
110 Aws::String m_description;
111 bool m_descriptionHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace FIS
116} // 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