AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeRepositoryCreationTemplatesResult.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecr/model/RepositoryCreationTemplate.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ECR
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
42 inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
43 inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
44 inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
46 inline DescribeRepositoryCreationTemplatesResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
47 inline DescribeRepositoryCreationTemplatesResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
49
51
54 inline const Aws::Vector<RepositoryCreationTemplate>& GetRepositoryCreationTemplates() const{ return m_repositoryCreationTemplates; }
55 inline void SetRepositoryCreationTemplates(const Aws::Vector<RepositoryCreationTemplate>& value) { m_repositoryCreationTemplates = value; }
56 inline void SetRepositoryCreationTemplates(Aws::Vector<RepositoryCreationTemplate>&& value) { m_repositoryCreationTemplates = std::move(value); }
59 inline DescribeRepositoryCreationTemplatesResult& AddRepositoryCreationTemplates(const RepositoryCreationTemplate& value) { m_repositoryCreationTemplates.push_back(value); return *this; }
60 inline DescribeRepositoryCreationTemplatesResult& AddRepositoryCreationTemplates(RepositoryCreationTemplate&& value) { m_repositoryCreationTemplates.push_back(std::move(value)); return *this; }
62
64
72 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
73 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
77 inline DescribeRepositoryCreationTemplatesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline DescribeRepositoryCreationTemplatesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
88 inline DescribeRepositoryCreationTemplatesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline DescribeRepositoryCreationTemplatesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
93 Aws::String m_registryId;
94
95 Aws::Vector<RepositoryCreationTemplate> m_repositoryCreationTemplates;
96
97 Aws::String m_nextToken;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace ECR
104} // namespace Aws
DescribeRepositoryCreationTemplatesResult & WithRequestId(const Aws::String &value)
DescribeRepositoryCreationTemplatesResult & WithRequestId(Aws::String &&value)
AWS_ECR_API DescribeRepositoryCreationTemplatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRepositoryCreationTemplatesResult & WithNextToken(Aws::String &&value)
DescribeRepositoryCreationTemplatesResult & WithNextToken(const char *value)
DescribeRepositoryCreationTemplatesResult & AddRepositoryCreationTemplates(RepositoryCreationTemplate &&value)
DescribeRepositoryCreationTemplatesResult & WithRegistryId(const Aws::String &value)
DescribeRepositoryCreationTemplatesResult & WithRegistryId(const char *value)
DescribeRepositoryCreationTemplatesResult & WithRequestId(const char *value)
void SetRepositoryCreationTemplates(Aws::Vector< RepositoryCreationTemplate > &&value)
DescribeRepositoryCreationTemplatesResult & WithNextToken(const Aws::String &value)
DescribeRepositoryCreationTemplatesResult & AddRepositoryCreationTemplates(const RepositoryCreationTemplate &value)
const Aws::Vector< RepositoryCreationTemplate > & GetRepositoryCreationTemplates() const
void SetRepositoryCreationTemplates(const Aws::Vector< RepositoryCreationTemplate > &value)
DescribeRepositoryCreationTemplatesResult & WithRepositoryCreationTemplates(const Aws::Vector< RepositoryCreationTemplate > &value)
DescribeRepositoryCreationTemplatesResult & WithRepositoryCreationTemplates(Aws::Vector< RepositoryCreationTemplate > &&value)
DescribeRepositoryCreationTemplatesResult & WithRegistryId(Aws::String &&value)
AWS_ECR_API DescribeRepositoryCreationTemplatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue