AWS SDK for C++  1.9.131
AWS SDK for C++
AssociateLensesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace WellArchitected
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "AssociateLenses"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
39 
40  inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
41 
42 
43  inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
44 
45 
46  inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
47 
48 
49  inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
50 
51 
52  inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
53 
54 
55  inline AssociateLensesRequest& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
56 
57 
58  inline AssociateLensesRequest& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
59 
60 
61  inline AssociateLensesRequest& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
62 
63 
64 
65  inline const Aws::Vector<Aws::String>& GetLensAliases() const{ return m_lensAliases; }
66 
67 
68  inline bool LensAliasesHasBeenSet() const { return m_lensAliasesHasBeenSet; }
69 
70 
71  inline void SetLensAliases(const Aws::Vector<Aws::String>& value) { m_lensAliasesHasBeenSet = true; m_lensAliases = value; }
72 
73 
74  inline void SetLensAliases(Aws::Vector<Aws::String>&& value) { m_lensAliasesHasBeenSet = true; m_lensAliases = std::move(value); }
75 
76 
77  inline AssociateLensesRequest& WithLensAliases(const Aws::Vector<Aws::String>& value) { SetLensAliases(value); return *this;}
78 
79 
80  inline AssociateLensesRequest& WithLensAliases(Aws::Vector<Aws::String>&& value) { SetLensAliases(std::move(value)); return *this;}
81 
82 
83  inline AssociateLensesRequest& AddLensAliases(const Aws::String& value) { m_lensAliasesHasBeenSet = true; m_lensAliases.push_back(value); return *this; }
84 
85 
86  inline AssociateLensesRequest& AddLensAliases(Aws::String&& value) { m_lensAliasesHasBeenSet = true; m_lensAliases.push_back(std::move(value)); return *this; }
87 
88 
89  inline AssociateLensesRequest& AddLensAliases(const char* value) { m_lensAliasesHasBeenSet = true; m_lensAliases.push_back(value); return *this; }
90 
91  private:
92 
93  Aws::String m_workloadId;
94  bool m_workloadIdHasBeenSet;
95 
96  Aws::Vector<Aws::String> m_lensAliases;
97  bool m_lensAliasesHasBeenSet;
98  };
99 
100 } // namespace Model
101 } // namespace WellArchitected
102 } // namespace Aws
Aws::WellArchitected::Model::AssociateLensesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AssociateLensesRequest.h:34
WellArchitectedRequest.h
Aws::WellArchitected::Model::AssociateLensesRequest::WithWorkloadId
AssociateLensesRequest & WithWorkloadId(const Aws::String &value)
Definition: AssociateLensesRequest.h:55
Aws::WellArchitected::Model::AssociateLensesRequest::LensAliasesHasBeenSet
bool LensAliasesHasBeenSet() const
Definition: AssociateLensesRequest.h:68
WellArchitected_EXPORTS.h
Aws::WellArchitected::Model::AssociateLensesRequest::WithLensAliases
AssociateLensesRequest & WithLensAliases(Aws::Vector< Aws::String > &&value)
Definition: AssociateLensesRequest.h:80
Aws::WellArchitected::Model::AssociateLensesRequest
Definition: AssociateLensesRequest.h:26
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::WellArchitected::Model::AssociateLensesRequest::AddLensAliases
AssociateLensesRequest & AddLensAliases(Aws::String &&value)
Definition: AssociateLensesRequest.h:86
Aws::WellArchitected::WellArchitectedRequest
Definition: WellArchitectedRequest.h:17
AWSVector.h
Aws::WellArchitected::Model::AssociateLensesRequest::WithWorkloadId
AssociateLensesRequest & WithWorkloadId(const char *value)
Definition: AssociateLensesRequest.h:61
Aws::WellArchitected::Model::AssociateLensesRequest::AddLensAliases
AssociateLensesRequest & AddLensAliases(const char *value)
Definition: AssociateLensesRequest.h:89
Aws::WellArchitected::Model::AssociateLensesRequest::WithWorkloadId
AssociateLensesRequest & WithWorkloadId(Aws::String &&value)
Definition: AssociateLensesRequest.h:58
Aws::WellArchitected::Model::AssociateLensesRequest::GetWorkloadId
const Aws::String & GetWorkloadId() const
Definition: AssociateLensesRequest.h:40
Aws::WellArchitected::Model::AssociateLensesRequest::WithLensAliases
AssociateLensesRequest & WithLensAliases(const Aws::Vector< Aws::String > &value)
Definition: AssociateLensesRequest.h:77
Aws::WellArchitected::Model::AssociateLensesRequest::WorkloadIdHasBeenSet
bool WorkloadIdHasBeenSet() const
Definition: AssociateLensesRequest.h:43
Aws::WellArchitected::Model::AssociateLensesRequest::SetLensAliases
void SetLensAliases(const Aws::Vector< Aws::String > &value)
Definition: AssociateLensesRequest.h:71
AWSString.h
Aws::WellArchitected::Model::AssociateLensesRequest::GetLensAliases
const Aws::Vector< Aws::String > & GetLensAliases() const
Definition: AssociateLensesRequest.h:65
Aws::WellArchitected::Model::AssociateLensesRequest::SetWorkloadId
void SetWorkloadId(const char *value)
Definition: AssociateLensesRequest.h:52
AWS_WELLARCHITECTED_API
#define AWS_WELLARCHITECTED_API
Definition: WellArchitected_EXPORTS.h:28
Aws::WellArchitected::Model::AssociateLensesRequest::SetWorkloadId
void SetWorkloadId(Aws::String &&value)
Definition: AssociateLensesRequest.h:49
Aws::WellArchitected::Model::AssociateLensesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WellArchitected::Model::AssociateLensesRequest::SetWorkloadId
void SetWorkloadId(const Aws::String &value)
Definition: AssociateLensesRequest.h:46
Aws::WellArchitected::Model::AssociateLensesRequest::AssociateLensesRequest
AssociateLensesRequest()
Aws::WellArchitected::Model::AssociateLensesRequest::SetLensAliases
void SetLensAliases(Aws::Vector< Aws::String > &&value)
Definition: AssociateLensesRequest.h:74
Aws::WellArchitected::Model::AssociateLensesRequest::AddLensAliases
AssociateLensesRequest & AddLensAliases(const Aws::String &value)
Definition: AssociateLensesRequest.h:83