AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateLensesRequest.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WellArchitected
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_WELLARCHITECTED_API AssociateLensesRequest();
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_WELLARCHITECTED_API Aws::String SerializePayload() const override;
37
38
40
41 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
42 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
43 inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
44 inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
45 inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
46 inline AssociateLensesRequest& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
47 inline AssociateLensesRequest& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
48 inline AssociateLensesRequest& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
50
52
53 inline const Aws::Vector<Aws::String>& GetLensAliases() const{ return m_lensAliases; }
54 inline bool LensAliasesHasBeenSet() const { return m_lensAliasesHasBeenSet; }
55 inline void SetLensAliases(const Aws::Vector<Aws::String>& value) { m_lensAliasesHasBeenSet = true; m_lensAliases = value; }
56 inline void SetLensAliases(Aws::Vector<Aws::String>&& value) { m_lensAliasesHasBeenSet = true; m_lensAliases = std::move(value); }
58 inline AssociateLensesRequest& WithLensAliases(Aws::Vector<Aws::String>&& value) { SetLensAliases(std::move(value)); return *this;}
59 inline AssociateLensesRequest& AddLensAliases(const Aws::String& value) { m_lensAliasesHasBeenSet = true; m_lensAliases.push_back(value); return *this; }
60 inline AssociateLensesRequest& AddLensAliases(Aws::String&& value) { m_lensAliasesHasBeenSet = true; m_lensAliases.push_back(std::move(value)); return *this; }
61 inline AssociateLensesRequest& AddLensAliases(const char* value) { m_lensAliasesHasBeenSet = true; m_lensAliases.push_back(value); return *this; }
63 private:
64
65 Aws::String m_workloadId;
66 bool m_workloadIdHasBeenSet = false;
67
68 Aws::Vector<Aws::String> m_lensAliases;
69 bool m_lensAliasesHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace WellArchitected
74} // namespace Aws
virtual const char * GetServiceRequestName() const override
AssociateLensesRequest & WithWorkloadId(const Aws::String &value)
AssociateLensesRequest & WithLensAliases(Aws::Vector< Aws::String > &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
AssociateLensesRequest & WithLensAliases(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetLensAliases() const
AssociateLensesRequest & AddLensAliases(const Aws::String &value)
void SetLensAliases(const Aws::Vector< Aws::String > &value)
AssociateLensesRequest & WithWorkloadId(const char *value)
AssociateLensesRequest & AddLensAliases(Aws::String &&value)
AssociateLensesRequest & WithWorkloadId(Aws::String &&value)
void SetLensAliases(Aws::Vector< Aws::String > &&value)
AssociateLensesRequest & AddLensAliases(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector