AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAliasResult.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/model/AliasRoutingConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Lambda
25{
26namespace Model
27{
36 {
37 public:
38 AWS_LAMBDA_API GetAliasResult();
41
42
44
47 inline const Aws::String& GetAliasArn() const{ return m_aliasArn; }
48 inline void SetAliasArn(const Aws::String& value) { m_aliasArn = value; }
49 inline void SetAliasArn(Aws::String&& value) { m_aliasArn = std::move(value); }
50 inline void SetAliasArn(const char* value) { m_aliasArn.assign(value); }
51 inline GetAliasResult& WithAliasArn(const Aws::String& value) { SetAliasArn(value); return *this;}
52 inline GetAliasResult& WithAliasArn(Aws::String&& value) { SetAliasArn(std::move(value)); return *this;}
53 inline GetAliasResult& WithAliasArn(const char* value) { SetAliasArn(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline void SetName(const Aws::String& value) { m_name = value; }
62 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
63 inline void SetName(const char* value) { m_name.assign(value); }
64 inline GetAliasResult& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline GetAliasResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline GetAliasResult& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const Aws::String& GetFunctionVersion() const{ return m_functionVersion; }
74 inline void SetFunctionVersion(const Aws::String& value) { m_functionVersion = value; }
75 inline void SetFunctionVersion(Aws::String&& value) { m_functionVersion = std::move(value); }
76 inline void SetFunctionVersion(const char* value) { m_functionVersion.assign(value); }
77 inline GetAliasResult& WithFunctionVersion(const Aws::String& value) { SetFunctionVersion(value); return *this;}
78 inline GetAliasResult& WithFunctionVersion(Aws::String&& value) { SetFunctionVersion(std::move(value)); return *this;}
79 inline GetAliasResult& WithFunctionVersion(const char* value) { SetFunctionVersion(value); return *this;}
81
83
86 inline const Aws::String& GetDescription() const{ return m_description; }
87 inline void SetDescription(const Aws::String& value) { m_description = value; }
88 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
89 inline void SetDescription(const char* value) { m_description.assign(value); }
90 inline GetAliasResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
91 inline GetAliasResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
92 inline GetAliasResult& WithDescription(const char* value) { SetDescription(value); return *this;}
94
96
101 inline const AliasRoutingConfiguration& GetRoutingConfig() const{ return m_routingConfig; }
102 inline void SetRoutingConfig(const AliasRoutingConfiguration& value) { m_routingConfig = value; }
103 inline void SetRoutingConfig(AliasRoutingConfiguration&& value) { m_routingConfig = std::move(value); }
104 inline GetAliasResult& WithRoutingConfig(const AliasRoutingConfiguration& value) { SetRoutingConfig(value); return *this;}
105 inline GetAliasResult& WithRoutingConfig(AliasRoutingConfiguration&& value) { SetRoutingConfig(std::move(value)); return *this;}
107
109
112 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
113 inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
114 inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
115 inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
116 inline GetAliasResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
117 inline GetAliasResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
118 inline GetAliasResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
120
122
123 inline const Aws::String& GetRequestId() const{ return m_requestId; }
124 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
125 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
126 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
127 inline GetAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
128 inline GetAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
129 inline GetAliasResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
131 private:
132
133 Aws::String m_aliasArn;
134
135 Aws::String m_name;
136
137 Aws::String m_functionVersion;
138
139 Aws::String m_description;
140
141 AliasRoutingConfiguration m_routingConfig;
142
143 Aws::String m_revisionId;
144
145 Aws::String m_requestId;
146 };
147
148} // namespace Model
149} // namespace Lambda
150} // namespace Aws
GetAliasResult & WithName(const char *value)
GetAliasResult & WithDescription(Aws::String &&value)
GetAliasResult & WithRequestId(const char *value)
const Aws::String & GetDescription() const
void SetRevisionId(const Aws::String &value)
GetAliasResult & WithAliasArn(const char *value)
GetAliasResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
GetAliasResult & WithDescription(const char *value)
GetAliasResult & WithName(const Aws::String &value)
GetAliasResult & WithRoutingConfig(AliasRoutingConfiguration &&value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetName() const
void SetRequestId(const char *value)
GetAliasResult & WithFunctionVersion(const Aws::String &value)
void SetRevisionId(Aws::String &&value)
const Aws::String & GetAliasArn() const
void SetName(const char *value)
void SetFunctionVersion(const Aws::String &value)
void SetAliasArn(Aws::String &&value)
GetAliasResult & WithRevisionId(const char *value)
const Aws::String & GetFunctionVersion() const
void SetDescription(const char *value)
void SetFunctionVersion(Aws::String &&value)
void SetRoutingConfig(AliasRoutingConfiguration &&value)
GetAliasResult & WithRequestId(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetName(Aws::String &&value)
AWS_LAMBDA_API GetAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
GetAliasResult & WithFunctionVersion(Aws::String &&value)
GetAliasResult & WithRevisionId(Aws::String &&value)
const Aws::String & GetRevisionId() const
GetAliasResult & WithName(Aws::String &&value)
void SetRoutingConfig(const AliasRoutingConfiguration &value)
GetAliasResult & WithAliasArn(const Aws::String &value)
AWS_LAMBDA_API GetAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetName(const Aws::String &value)
void SetAliasArn(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetRevisionId(const char *value)
void SetAliasArn(const char *value)
GetAliasResult & WithFunctionVersion(const char *value)
GetAliasResult & WithAliasArn(Aws::String &&value)
const AliasRoutingConfiguration & GetRoutingConfig() const
GetAliasResult & WithRoutingConfig(const AliasRoutingConfiguration &value)
void SetFunctionVersion(const char *value)
GetAliasResult & WithRevisionId(const Aws::String &value)
GetAliasResult & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue