AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAliasesRequest.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 <utility>
11
12namespace Aws
13{
14namespace SageMaker
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SAGEMAKER_API ListAliasesRequest();
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 "ListAliases"; }
31
32 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetImageName() const{ return m_imageName; }
42 inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; }
43 inline void SetImageName(const Aws::String& value) { m_imageNameHasBeenSet = true; m_imageName = value; }
44 inline void SetImageName(Aws::String&& value) { m_imageNameHasBeenSet = true; m_imageName = std::move(value); }
45 inline void SetImageName(const char* value) { m_imageNameHasBeenSet = true; m_imageName.assign(value); }
46 inline ListAliasesRequest& WithImageName(const Aws::String& value) { SetImageName(value); return *this;}
47 inline ListAliasesRequest& WithImageName(Aws::String&& value) { SetImageName(std::move(value)); return *this;}
48 inline ListAliasesRequest& WithImageName(const char* value) { SetImageName(value); return *this;}
50
52
55 inline const Aws::String& GetAlias() const{ return m_alias; }
56 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
57 inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; }
58 inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
59 inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); }
60 inline ListAliasesRequest& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
61 inline ListAliasesRequest& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
62 inline ListAliasesRequest& WithAlias(const char* value) { SetAlias(value); return *this;}
64
66
70 inline int GetVersion() const{ return m_version; }
71 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
72 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
73 inline ListAliasesRequest& WithVersion(int value) { SetVersion(value); return *this;}
75
77
80 inline int GetMaxResults() const{ return m_maxResults; }
81 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
82 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
83 inline ListAliasesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
85
87
91 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
93 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
94 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
95 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
96 inline ListAliasesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 inline ListAliasesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
98 inline ListAliasesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
100 private:
101
102 Aws::String m_imageName;
103 bool m_imageNameHasBeenSet = false;
104
105 Aws::String m_alias;
106 bool m_aliasHasBeenSet = false;
107
108 int m_version;
109 bool m_versionHasBeenSet = false;
110
111 int m_maxResults;
112 bool m_maxResultsHasBeenSet = false;
113
114 Aws::String m_nextToken;
115 bool m_nextTokenHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace SageMaker
120} // namespace Aws
ListAliasesRequest & WithImageName(const Aws::String &value)
ListAliasesRequest & WithNextToken(Aws::String &&value)
ListAliasesRequest & WithMaxResults(int value)
ListAliasesRequest & WithAlias(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListAliasesRequest & WithAlias(const char *value)
ListAliasesRequest & WithImageName(const char *value)
ListAliasesRequest & WithNextToken(const char *value)
void SetNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListAliasesRequest & WithNextToken(const Aws::String &value)
void SetImageName(const Aws::String &value)
ListAliasesRequest & WithAlias(Aws::String &&value)
ListAliasesRequest & WithImageName(Aws::String &&value)
void SetAlias(const Aws::String &value)
ListAliasesRequest & WithVersion(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String