AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTargetAccountConfigurationRequest.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
12namespace Aws
13{
14namespace FIS
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateTargetAccountConfiguration"; }
31
32 AWS_FIS_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetExperimentTemplateId() const{ return m_experimentTemplateId; }
40 inline bool ExperimentTemplateIdHasBeenSet() const { return m_experimentTemplateIdHasBeenSet; }
41 inline void SetExperimentTemplateId(const Aws::String& value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId = value; }
42 inline void SetExperimentTemplateId(Aws::String&& value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId = std::move(value); }
43 inline void SetExperimentTemplateId(const char* value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId.assign(value); }
48
50
53 inline const Aws::String& GetAccountId() const{ return m_accountId; }
54 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
55 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
56 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
57 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
59 inline UpdateTargetAccountConfigurationRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
60 inline UpdateTargetAccountConfigurationRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
62
64
67 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
68 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
69 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
70 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
71 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
72 inline UpdateTargetAccountConfigurationRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
73 inline UpdateTargetAccountConfigurationRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
74 inline UpdateTargetAccountConfigurationRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
76
78
81 inline const Aws::String& GetDescription() const{ return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
84 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
85 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
87 inline UpdateTargetAccountConfigurationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
88 inline UpdateTargetAccountConfigurationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
90 private:
91
92 Aws::String m_experimentTemplateId;
93 bool m_experimentTemplateIdHasBeenSet = false;
94
95 Aws::String m_accountId;
96 bool m_accountIdHasBeenSet = false;
97
98 Aws::String m_roleArn;
99 bool m_roleArnHasBeenSet = false;
100
101 Aws::String m_description;
102 bool m_descriptionHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace FIS
107} // namespace Aws
UpdateTargetAccountConfigurationRequest & WithExperimentTemplateId(const char *value)
UpdateTargetAccountConfigurationRequest & WithAccountId(Aws::String &&value)
UpdateTargetAccountConfigurationRequest & WithDescription(const Aws::String &value)
UpdateTargetAccountConfigurationRequest & WithExperimentTemplateId(Aws::String &&value)
UpdateTargetAccountConfigurationRequest & WithRoleArn(Aws::String &&value)
UpdateTargetAccountConfigurationRequest & WithExperimentTemplateId(const Aws::String &value)
UpdateTargetAccountConfigurationRequest & WithDescription(const char *value)
UpdateTargetAccountConfigurationRequest & WithAccountId(const Aws::String &value)
UpdateTargetAccountConfigurationRequest & WithRoleArn(const Aws::String &value)
UpdateTargetAccountConfigurationRequest & WithDescription(Aws::String &&value)
UpdateTargetAccountConfigurationRequest & WithAccountId(const char *value)
AWS_FIS_API Aws::String SerializePayload() const override
UpdateTargetAccountConfigurationRequest & WithRoleArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String