AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListResourcesRequest.h
1
6#pragma once
7#include <aws/cloudcontrol/CloudControlApi_EXPORTS.h>
8#include <aws/cloudcontrol/CloudControlApiRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CloudControlApi
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CLOUDCONTROLAPI_API ListResourcesRequest();
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 "ListResources"; }
31
32 AWS_CLOUDCONTROLAPI_API Aws::String SerializePayload() const override;
33
34 AWS_CLOUDCONTROLAPI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const Aws::String& GetTypeName() const{ return m_typeName; }
42 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
43 inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
44 inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
45 inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
46 inline ListResourcesRequest& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
47 inline ListResourcesRequest& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
48 inline ListResourcesRequest& WithTypeName(const char* value) { SetTypeName(value); return *this;}
50
52
57 inline const Aws::String& GetTypeVersionId() const{ return m_typeVersionId; }
58 inline bool TypeVersionIdHasBeenSet() const { return m_typeVersionIdHasBeenSet; }
59 inline void SetTypeVersionId(const Aws::String& value) { m_typeVersionIdHasBeenSet = true; m_typeVersionId = value; }
60 inline void SetTypeVersionId(Aws::String&& value) { m_typeVersionIdHasBeenSet = true; m_typeVersionId = std::move(value); }
61 inline void SetTypeVersionId(const char* value) { m_typeVersionIdHasBeenSet = true; m_typeVersionId.assign(value); }
62 inline ListResourcesRequest& WithTypeVersionId(const Aws::String& value) { SetTypeVersionId(value); return *this;}
63 inline ListResourcesRequest& WithTypeVersionId(Aws::String&& value) { SetTypeVersionId(std::move(value)); return *this;}
64 inline ListResourcesRequest& WithTypeVersionId(const char* value) { SetTypeVersionId(value); return *this;}
66
68
83 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
84 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
85 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
86 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
87 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
88 inline ListResourcesRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
89 inline ListResourcesRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
90 inline ListResourcesRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
92
94
102 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
103 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
104 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
105 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
106 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
107 inline ListResourcesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 inline ListResourcesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 inline ListResourcesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
111
113
116 inline int GetMaxResults() const{ return m_maxResults; }
117 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
118 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
119 inline ListResourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
121
123
126 inline const Aws::String& GetResourceModel() const{ return m_resourceModel; }
127 inline bool ResourceModelHasBeenSet() const { return m_resourceModelHasBeenSet; }
128 inline void SetResourceModel(const Aws::String& value) { m_resourceModelHasBeenSet = true; m_resourceModel = value; }
129 inline void SetResourceModel(Aws::String&& value) { m_resourceModelHasBeenSet = true; m_resourceModel = std::move(value); }
130 inline void SetResourceModel(const char* value) { m_resourceModelHasBeenSet = true; m_resourceModel.assign(value); }
131 inline ListResourcesRequest& WithResourceModel(const Aws::String& value) { SetResourceModel(value); return *this;}
132 inline ListResourcesRequest& WithResourceModel(Aws::String&& value) { SetResourceModel(std::move(value)); return *this;}
133 inline ListResourcesRequest& WithResourceModel(const char* value) { SetResourceModel(value); return *this;}
135 private:
136
137 Aws::String m_typeName;
138 bool m_typeNameHasBeenSet = false;
139
140 Aws::String m_typeVersionId;
141 bool m_typeVersionIdHasBeenSet = false;
142
143 Aws::String m_roleArn;
144 bool m_roleArnHasBeenSet = false;
145
146 Aws::String m_nextToken;
147 bool m_nextTokenHasBeenSet = false;
148
149 int m_maxResults;
150 bool m_maxResultsHasBeenSet = false;
151
152 Aws::String m_resourceModel;
153 bool m_resourceModelHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace CloudControlApi
158} // namespace Aws
ListResourcesRequest & WithTypeVersionId(Aws::String &&value)
ListResourcesRequest & WithRoleArn(const char *value)
ListResourcesRequest & WithResourceModel(const Aws::String &value)
AWS_CLOUDCONTROLAPI_API Aws::String SerializePayload() const override
ListResourcesRequest & WithTypeVersionId(const Aws::String &value)
ListResourcesRequest & WithResourceModel(const char *value)
virtual const char * GetServiceRequestName() const override
ListResourcesRequest & WithTypeName(Aws::String &&value)
ListResourcesRequest & WithTypeName(const char *value)
ListResourcesRequest & WithRoleArn(const Aws::String &value)
ListResourcesRequest & WithTypeName(const Aws::String &value)
ListResourcesRequest & WithRoleArn(Aws::String &&value)
ListResourcesRequest & WithResourceModel(Aws::String &&value)
ListResourcesRequest & WithNextToken(const Aws::String &value)
ListResourcesRequest & WithTypeVersionId(const char *value)
ListResourcesRequest & WithNextToken(const char *value)
ListResourcesRequest & WithNextToken(Aws::String &&value)
AWS_CLOUDCONTROLAPI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String