AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetControlResult.h
1
6#pragma once
7#include <aws/controlcatalog/ControlCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/controlcatalog/model/ControlBehavior.h>
10#include <aws/controlcatalog/model/RegionConfiguration.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 ControlCatalog
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CONTROLCATALOG_API GetControlResult();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline GetControlResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline GetControlResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline GetControlResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline void SetName(const Aws::String& value) { m_name = value; }
56 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
57 inline void SetName(const char* value) { m_name.assign(value); }
58 inline GetControlResult& WithName(const Aws::String& value) { SetName(value); return *this;}
59 inline GetControlResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
60 inline GetControlResult& WithName(const char* value) { SetName(value); return *this;}
62
64
67 inline const Aws::String& GetDescription() const{ return m_description; }
68 inline void SetDescription(const Aws::String& value) { m_description = value; }
69 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
70 inline void SetDescription(const char* value) { m_description.assign(value); }
71 inline GetControlResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
72 inline GetControlResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
73 inline GetControlResult& WithDescription(const char* value) { SetDescription(value); return *this;}
75
77
81 inline const ControlBehavior& GetBehavior() const{ return m_behavior; }
82 inline void SetBehavior(const ControlBehavior& value) { m_behavior = value; }
83 inline void SetBehavior(ControlBehavior&& value) { m_behavior = std::move(value); }
84 inline GetControlResult& WithBehavior(const ControlBehavior& value) { SetBehavior(value); return *this;}
85 inline GetControlResult& WithBehavior(ControlBehavior&& value) { SetBehavior(std::move(value)); return *this;}
87
89
90 inline const RegionConfiguration& GetRegionConfiguration() const{ return m_regionConfiguration; }
91 inline void SetRegionConfiguration(const RegionConfiguration& value) { m_regionConfiguration = value; }
92 inline void SetRegionConfiguration(RegionConfiguration&& value) { m_regionConfiguration = std::move(value); }
94 inline GetControlResult& WithRegionConfiguration(RegionConfiguration&& value) { SetRegionConfiguration(std::move(value)); return *this;}
96
98
99 inline const Aws::String& GetRequestId() const{ return m_requestId; }
100 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
101 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
102 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
103 inline GetControlResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline GetControlResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline GetControlResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
107 private:
108
109 Aws::String m_arn;
110
111 Aws::String m_name;
112
113 Aws::String m_description;
114
115 ControlBehavior m_behavior;
116
117 RegionConfiguration m_regionConfiguration;
118
119 Aws::String m_requestId;
120 };
121
122} // namespace Model
123} // namespace ControlCatalog
124} // namespace Aws
GetControlResult & WithRequestId(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetRegionConfiguration(RegionConfiguration &&value)
GetControlResult & WithRequestId(Aws::String &&value)
const ControlBehavior & GetBehavior() const
GetControlResult & WithArn(const char *value)
GetControlResult & WithName(const Aws::String &value)
GetControlResult & WithName(Aws::String &&value)
GetControlResult & WithArn(Aws::String &&value)
AWS_CONTROLCATALOG_API GetControlResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetControlResult & WithArn(const Aws::String &value)
GetControlResult & WithRegionConfiguration(const RegionConfiguration &value)
GetControlResult & WithBehavior(ControlBehavior &&value)
const RegionConfiguration & GetRegionConfiguration() const
void SetBehavior(const ControlBehavior &value)
GetControlResult & WithRequestId(const char *value)
GetControlResult & WithRegionConfiguration(RegionConfiguration &&value)
GetControlResult & WithBehavior(const ControlBehavior &value)
void SetBehavior(ControlBehavior &&value)
void SetRegionConfiguration(const RegionConfiguration &value)
void SetRequestId(const Aws::String &value)
GetControlResult & WithName(const char *value)
AWS_CONTROLCATALOG_API GetControlResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetControlResult & WithDescription(Aws::String &&value)
GetControlResult & WithDescription(const Aws::String &value)
GetControlResult & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue