AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExtraParam.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/route53domains/model/ExtraParamName.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Route53Domains
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ROUTE53DOMAINS_API ExtraParam();
36 AWS_ROUTE53DOMAINS_API ExtraParam(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROUTE53DOMAINS_API ExtraParam& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
197 inline const ExtraParamName& GetName() const{ return m_name; }
198 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
199 inline void SetName(const ExtraParamName& value) { m_nameHasBeenSet = true; m_name = value; }
200 inline void SetName(ExtraParamName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
201 inline ExtraParam& WithName(const ExtraParamName& value) { SetName(value); return *this;}
202 inline ExtraParam& WithName(ExtraParamName&& value) { SetName(std::move(value)); return *this;}
204
206
209 inline const Aws::String& GetValue() const{ return m_value; }
210 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
211 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
212 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
213 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
214 inline ExtraParam& WithValue(const Aws::String& value) { SetValue(value); return *this;}
215 inline ExtraParam& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
216 inline ExtraParam& WithValue(const char* value) { SetValue(value); return *this;}
218 private:
219
220 ExtraParamName m_name;
221 bool m_nameHasBeenSet = false;
222
223 Aws::String m_value;
224 bool m_valueHasBeenSet = false;
225 };
226
227} // namespace Model
228} // namespace Route53Domains
229} // namespace Aws
ExtraParam & WithValue(const Aws::String &value)
Definition ExtraParam.h:214
ExtraParam & WithName(const ExtraParamName &value)
Definition ExtraParam.h:201
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const
ExtraParam & WithValue(Aws::String &&value)
Definition ExtraParam.h:215
ExtraParam & WithValue(const char *value)
Definition ExtraParam.h:216
AWS_ROUTE53DOMAINS_API ExtraParam(Aws::Utils::Json::JsonView jsonValue)
ExtraParam & WithName(ExtraParamName &&value)
Definition ExtraParam.h:202
void SetValue(const char *value)
Definition ExtraParam.h:213
void SetName(ExtraParamName &&value)
Definition ExtraParam.h:200
AWS_ROUTE53DOMAINS_API ExtraParam & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const ExtraParamName &value)
Definition ExtraParam.h:199
const ExtraParamName & GetName() const
Definition ExtraParam.h:197
void SetValue(const Aws::String &value)
Definition ExtraParam.h:211
const Aws::String & GetValue() const
Definition ExtraParam.h:209
AWS_ROUTE53DOMAINS_API ExtraParam()
void SetValue(Aws::String &&value)
Definition ExtraParam.h:212
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue