AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
44 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
45 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
47 inline CreateTargetAccountConfigurationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
48 inline CreateTargetAccountConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
50
52
55 inline const Aws::String& GetExperimentTemplateId() const{ return m_experimentTemplateId; }
56 inline bool ExperimentTemplateIdHasBeenSet() const { return m_experimentTemplateIdHasBeenSet; }
57 inline void SetExperimentTemplateId(const Aws::String& value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId = value; }
58 inline void SetExperimentTemplateId(Aws::String&& value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId = std::move(value); }
59 inline void SetExperimentTemplateId(const char* value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId.assign(value); }
64
66
69 inline const Aws::String& GetAccountId() const{ return m_accountId; }
70 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
71 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
72 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
73 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
75 inline CreateTargetAccountConfigurationRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
76 inline CreateTargetAccountConfigurationRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
78
80
83 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
84 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
85 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
86 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
87 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
88 inline CreateTargetAccountConfigurationRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
89 inline CreateTargetAccountConfigurationRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
90 inline CreateTargetAccountConfigurationRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
92
94
97 inline const Aws::String& GetDescription() const{ return m_description; }
98 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
99 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
100 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
101 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
103 inline CreateTargetAccountConfigurationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
104 inline CreateTargetAccountConfigurationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
106 private:
107
108 Aws::String m_clientToken;
109 bool m_clientTokenHasBeenSet = false;
110
111 Aws::String m_experimentTemplateId;
112 bool m_experimentTemplateIdHasBeenSet = false;
113
114 Aws::String m_accountId;
115 bool m_accountIdHasBeenSet = false;
116
117 Aws::String m_roleArn;
118 bool m_roleArnHasBeenSet = false;
119
120 Aws::String m_description;
121 bool m_descriptionHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace FIS
126} // namespace Aws
AWS_FIS_API Aws::String SerializePayload() const override
CreateTargetAccountConfigurationRequest & WithAccountId(const Aws::String &value)
CreateTargetAccountConfigurationRequest & WithRoleArn(const Aws::String &value)
CreateTargetAccountConfigurationRequest & WithAccountId(const char *value)
CreateTargetAccountConfigurationRequest & WithRoleArn(const char *value)
CreateTargetAccountConfigurationRequest & WithClientToken(Aws::String &&value)
CreateTargetAccountConfigurationRequest & WithRoleArn(Aws::String &&value)
CreateTargetAccountConfigurationRequest & WithDescription(const char *value)
CreateTargetAccountConfigurationRequest & WithClientToken(const char *value)
CreateTargetAccountConfigurationRequest & WithClientToken(const Aws::String &value)
CreateTargetAccountConfigurationRequest & WithExperimentTemplateId(const char *value)
CreateTargetAccountConfigurationRequest & WithExperimentTemplateId(const Aws::String &value)
CreateTargetAccountConfigurationRequest & WithDescription(const Aws::String &value)
CreateTargetAccountConfigurationRequest & WithDescription(Aws::String &&value)
CreateTargetAccountConfigurationRequest & WithAccountId(Aws::String &&value)
CreateTargetAccountConfigurationRequest & WithExperimentTemplateId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String