AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAssociationsRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/AssociationEdgeType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/SortAssociationsBy.h>
13#include <aws/sagemaker/model/SortOrder.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SageMaker
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SAGEMAKER_API ListAssociationsRequest();
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 "ListAssociations"; }
35
36 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
46 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
47 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
48 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
49 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
50 inline ListAssociationsRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
51 inline ListAssociationsRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
52 inline ListAssociationsRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
54
56
60 inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
61 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
62 inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; }
63 inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); }
64 inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); }
65 inline ListAssociationsRequest& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;}
66 inline ListAssociationsRequest& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
67 inline ListAssociationsRequest& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
69
71
74 inline const Aws::String& GetSourceType() const{ return m_sourceType; }
75 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
76 inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
77 inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
78 inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); }
79 inline ListAssociationsRequest& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
80 inline ListAssociationsRequest& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
81 inline ListAssociationsRequest& WithSourceType(const char* value) { SetSourceType(value); return *this;}
83
85
89 inline const Aws::String& GetDestinationType() const{ return m_destinationType; }
90 inline bool DestinationTypeHasBeenSet() const { return m_destinationTypeHasBeenSet; }
91 inline void SetDestinationType(const Aws::String& value) { m_destinationTypeHasBeenSet = true; m_destinationType = value; }
92 inline void SetDestinationType(Aws::String&& value) { m_destinationTypeHasBeenSet = true; m_destinationType = std::move(value); }
93 inline void SetDestinationType(const char* value) { m_destinationTypeHasBeenSet = true; m_destinationType.assign(value); }
94 inline ListAssociationsRequest& WithDestinationType(const Aws::String& value) { SetDestinationType(value); return *this;}
95 inline ListAssociationsRequest& WithDestinationType(Aws::String&& value) { SetDestinationType(std::move(value)); return *this;}
96 inline ListAssociationsRequest& WithDestinationType(const char* value) { SetDestinationType(value); return *this;}
98
100
103 inline const AssociationEdgeType& GetAssociationType() const{ return m_associationType; }
104 inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
105 inline void SetAssociationType(const AssociationEdgeType& value) { m_associationTypeHasBeenSet = true; m_associationType = value; }
106 inline void SetAssociationType(AssociationEdgeType&& value) { m_associationTypeHasBeenSet = true; m_associationType = std::move(value); }
108 inline ListAssociationsRequest& WithAssociationType(AssociationEdgeType&& value) { SetAssociationType(std::move(value)); return *this;}
110
112
116 inline const Aws::Utils::DateTime& GetCreatedAfter() const{ return m_createdAfter; }
117 inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
118 inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; }
119 inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); }
121 inline ListAssociationsRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(value)); return *this;}
123
125
129 inline const Aws::Utils::DateTime& GetCreatedBefore() const{ return m_createdBefore; }
130 inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
131 inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; }
132 inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); }
134 inline ListAssociationsRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;}
136
138
142 inline const SortAssociationsBy& GetSortBy() const{ return m_sortBy; }
143 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
144 inline void SetSortBy(const SortAssociationsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
145 inline void SetSortBy(SortAssociationsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
146 inline ListAssociationsRequest& WithSortBy(const SortAssociationsBy& value) { SetSortBy(value); return *this;}
147 inline ListAssociationsRequest& WithSortBy(SortAssociationsBy&& value) { SetSortBy(std::move(value)); return *this;}
149
151
154 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
155 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
156 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
157 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
158 inline ListAssociationsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
159 inline ListAssociationsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
161
163
168 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
169 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
170 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
171 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
172 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
173 inline ListAssociationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
174 inline ListAssociationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
175 inline ListAssociationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
177
179
183 inline int GetMaxResults() const{ return m_maxResults; }
184 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
185 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
186 inline ListAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
188 private:
189
190 Aws::String m_sourceArn;
191 bool m_sourceArnHasBeenSet = false;
192
193 Aws::String m_destinationArn;
194 bool m_destinationArnHasBeenSet = false;
195
196 Aws::String m_sourceType;
197 bool m_sourceTypeHasBeenSet = false;
198
199 Aws::String m_destinationType;
200 bool m_destinationTypeHasBeenSet = false;
201
202 AssociationEdgeType m_associationType;
203 bool m_associationTypeHasBeenSet = false;
204
205 Aws::Utils::DateTime m_createdAfter;
206 bool m_createdAfterHasBeenSet = false;
207
208 Aws::Utils::DateTime m_createdBefore;
209 bool m_createdBeforeHasBeenSet = false;
210
211 SortAssociationsBy m_sortBy;
212 bool m_sortByHasBeenSet = false;
213
214 SortOrder m_sortOrder;
215 bool m_sortOrderHasBeenSet = false;
216
217 Aws::String m_nextToken;
218 bool m_nextTokenHasBeenSet = false;
219
220 int m_maxResults;
221 bool m_maxResultsHasBeenSet = false;
222 };
223
224} // namespace Model
225} // namespace SageMaker
226} // namespace Aws
ListAssociationsRequest & WithSourceArn(const char *value)
ListAssociationsRequest & WithDestinationArn(const Aws::String &value)
ListAssociationsRequest & WithSourceArn(Aws::String &&value)
ListAssociationsRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListAssociationsRequest & WithNextToken(const char *value)
const Aws::Utils::DateTime & GetCreatedAfter() const
void SetAssociationType(const AssociationEdgeType &value)
void SetCreatedAfter(const Aws::Utils::DateTime &value)
ListAssociationsRequest & WithDestinationArn(Aws::String &&value)
ListAssociationsRequest & WithAssociationType(const AssociationEdgeType &value)
ListAssociationsRequest & WithSourceType(const Aws::String &value)
ListAssociationsRequest & WithSourceType(const char *value)
ListAssociationsRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListAssociationsRequest & WithSortBy(SortAssociationsBy &&value)
ListAssociationsRequest & WithDestinationType(const char *value)
ListAssociationsRequest & WithDestinationType(const Aws::String &value)
const AssociationEdgeType & GetAssociationType() const
ListAssociationsRequest & WithDestinationArn(const char *value)
void SetCreatedBefore(Aws::Utils::DateTime &&value)
void SetSortBy(const SortAssociationsBy &value)
ListAssociationsRequest & WithNextToken(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedBefore() const
ListAssociationsRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
ListAssociationsRequest & WithMaxResults(int value)
ListAssociationsRequest & WithSortBy(const SortAssociationsBy &value)
ListAssociationsRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
ListAssociationsRequest & WithSortOrder(const SortOrder &value)
void SetCreatedBefore(const Aws::Utils::DateTime &value)
ListAssociationsRequest & WithSourceArn(const Aws::String &value)
ListAssociationsRequest & WithAssociationType(AssociationEdgeType &&value)
ListAssociationsRequest & WithSourceType(Aws::String &&value)
ListAssociationsRequest & WithDestinationType(Aws::String &&value)
ListAssociationsRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
ListAssociationsRequest & WithSortOrder(SortOrder &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String