AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateTargetAccountConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fis/FISRequest.h>
9#include <aws/fis/FIS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace FIS {
15namespace Model {
16
20 public:
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateTargetAccountConfiguration"; }
28
29 AWS_FIS_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetExperimentTemplateId() const { return m_experimentTemplateId; }
36 inline bool ExperimentTemplateIdHasBeenSet() const { return m_experimentTemplateIdHasBeenSet; }
37 template <typename ExperimentTemplateIdT = Aws::String>
38 void SetExperimentTemplateId(ExperimentTemplateIdT&& value) {
39 m_experimentTemplateIdHasBeenSet = true;
40 m_experimentTemplateId = std::forward<ExperimentTemplateIdT>(value);
41 }
42 template <typename ExperimentTemplateIdT = Aws::String>
44 SetExperimentTemplateId(std::forward<ExperimentTemplateIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetAccountId() const { return m_accountId; }
54 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
55 template <typename AccountIdT = Aws::String>
56 void SetAccountId(AccountIdT&& value) {
57 m_accountIdHasBeenSet = true;
58 m_accountId = std::forward<AccountIdT>(value);
59 }
60 template <typename AccountIdT = Aws::String>
62 SetAccountId(std::forward<AccountIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
72 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
73 template <typename RoleArnT = Aws::String>
74 void SetRoleArn(RoleArnT&& value) {
75 m_roleArnHasBeenSet = true;
76 m_roleArn = std::forward<RoleArnT>(value);
77 }
78 template <typename RoleArnT = Aws::String>
80 SetRoleArn(std::forward<RoleArnT>(value));
81 return *this;
82 }
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) {
93 m_descriptionHasBeenSet = true;
94 m_description = std::forward<DescriptionT>(value);
95 }
96 template <typename DescriptionT = Aws::String>
98 SetDescription(std::forward<DescriptionT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_experimentTemplateId;
104
105 Aws::String m_accountId;
106
107 Aws::String m_roleArn;
108
109 Aws::String m_description;
110 bool m_experimentTemplateIdHasBeenSet = false;
111 bool m_accountIdHasBeenSet = false;
112 bool m_roleArnHasBeenSet = false;
113 bool m_descriptionHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace FIS
118} // namespace Aws
UpdateTargetAccountConfigurationRequest & WithAccountId(AccountIdT &&value)
UpdateTargetAccountConfigurationRequest & WithDescription(DescriptionT &&value)
UpdateTargetAccountConfigurationRequest & WithRoleArn(RoleArnT &&value)
UpdateTargetAccountConfigurationRequest & WithExperimentTemplateId(ExperimentTemplateIdT &&value)
AWS_FIS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String