AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAccountSettingResult.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ECR
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline const Aws::String& GetName() const{ return m_name; }
40 inline void SetName(const Aws::String& value) { m_name = value; }
41 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
42 inline void SetName(const char* value) { m_name.assign(value); }
43 inline GetAccountSettingResult& WithName(const Aws::String& value) { SetName(value); return *this;}
44 inline GetAccountSettingResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
45 inline GetAccountSettingResult& WithName(const char* value) { SetName(value); return *this;}
47
49
53 inline const Aws::String& GetValue() const{ return m_value; }
54 inline void SetValue(const Aws::String& value) { m_value = value; }
55 inline void SetValue(Aws::String&& value) { m_value = std::move(value); }
56 inline void SetValue(const char* value) { m_value.assign(value); }
57 inline GetAccountSettingResult& WithValue(const Aws::String& value) { SetValue(value); return *this;}
58 inline GetAccountSettingResult& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
59 inline GetAccountSettingResult& WithValue(const char* value) { SetValue(value); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const{ return m_requestId; }
65 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
68 inline GetAccountSettingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline GetAccountSettingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline GetAccountSettingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72 private:
73
74 Aws::String m_name;
75
76 Aws::String m_value;
77
78 Aws::String m_requestId;
79 };
80
81} // namespace Model
82} // namespace ECR
83} // namespace Aws
GetAccountSettingResult & WithValue(const Aws::String &value)
AWS_ECR_API GetAccountSettingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccountSettingResult & WithRequestId(const Aws::String &value)
GetAccountSettingResult & WithRequestId(const char *value)
GetAccountSettingResult & WithRequestId(Aws::String &&value)
GetAccountSettingResult & WithValue(Aws::String &&value)
GetAccountSettingResult & WithName(const Aws::String &value)
AWS_ECR_API GetAccountSettingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccountSettingResult & WithName(const char *value)
GetAccountSettingResult & WithValue(const char *value)
GetAccountSettingResult & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue