AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListComponentsRequest.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/proton/ProtonRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Proton
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_PROTON_API ListComponentsRequest();
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 "ListComponents"; }
31
32 AWS_PROTON_API Aws::String SerializePayload() const override;
33
35
36
38
43 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
44 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
45 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
46 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
47 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
48 inline ListComponentsRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
49 inline ListComponentsRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
50 inline ListComponentsRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
52
54
57 inline int GetMaxResults() const{ return m_maxResults; }
58 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
59 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
60 inline ListComponentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
62
64
68 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
69 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
70 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
71 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
72 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
73 inline ListComponentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
74 inline ListComponentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
75 inline ListComponentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
77
79
83 inline const Aws::String& GetServiceInstanceName() const{ return m_serviceInstanceName; }
84 inline bool ServiceInstanceNameHasBeenSet() const { return m_serviceInstanceNameHasBeenSet; }
85 inline void SetServiceInstanceName(const Aws::String& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = value; }
86 inline void SetServiceInstanceName(Aws::String&& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = std::move(value); }
87 inline void SetServiceInstanceName(const char* value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName.assign(value); }
89 inline ListComponentsRequest& WithServiceInstanceName(Aws::String&& value) { SetServiceInstanceName(std::move(value)); return *this;}
90 inline ListComponentsRequest& WithServiceInstanceName(const char* value) { SetServiceInstanceName(value); return *this;}
92
94
98 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
99 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
100 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
101 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
102 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
103 inline ListComponentsRequest& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
104 inline ListComponentsRequest& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
105 inline ListComponentsRequest& WithServiceName(const char* value) { SetServiceName(value); return *this;}
107 private:
108
109 Aws::String m_environmentName;
110 bool m_environmentNameHasBeenSet = false;
111
112 int m_maxResults;
113 bool m_maxResultsHasBeenSet = false;
114
115 Aws::String m_nextToken;
116 bool m_nextTokenHasBeenSet = false;
117
118 Aws::String m_serviceInstanceName;
119 bool m_serviceInstanceNameHasBeenSet = false;
120
121 Aws::String m_serviceName;
122 bool m_serviceNameHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace Proton
127} // namespace Aws
void SetServiceName(const Aws::String &value)
ListComponentsRequest & WithServiceName(Aws::String &&value)
const Aws::String & GetServiceInstanceName() const
AWS_PROTON_API Aws::String SerializePayload() const override
void SetServiceInstanceName(const Aws::String &value)
ListComponentsRequest & WithServiceName(const char *value)
ListComponentsRequest & WithServiceName(const Aws::String &value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetEnvironmentName(const Aws::String &value)
ListComponentsRequest & WithEnvironmentName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListComponentsRequest & WithServiceInstanceName(Aws::String &&value)
ListComponentsRequest & WithNextToken(const Aws::String &value)
ListComponentsRequest & WithMaxResults(int value)
ListComponentsRequest & WithEnvironmentName(const Aws::String &value)
ListComponentsRequest & WithServiceInstanceName(const Aws::String &value)
ListComponentsRequest & WithServiceInstanceName(const char *value)
ListComponentsRequest & WithNextToken(const char *value)
void SetNextToken(const Aws::String &value)
ListComponentsRequest & WithNextToken(Aws::String &&value)
ListComponentsRequest & WithEnvironmentName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String