AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceGroup.h
1
6#pragma once
7#include <aws/servicecatalog-appregistry/AppRegistry_EXPORTS.h>
8#include <aws/servicecatalog-appregistry/model/ResourceGroupState.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 AppRegistry
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPREGISTRY_API ResourceGroup();
37 AWS_APPREGISTRY_API ResourceGroup(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPREGISTRY_API ResourceGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
53 inline const ResourceGroupState& GetState() const{ return m_state; }
54 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
55 inline void SetState(const ResourceGroupState& value) { m_stateHasBeenSet = true; m_state = value; }
56 inline void SetState(ResourceGroupState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
57 inline ResourceGroup& WithState(const ResourceGroupState& value) { SetState(value); return *this;}
58 inline ResourceGroup& WithState(ResourceGroupState&& value) { SetState(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetArn() const{ return m_arn; }
66 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
67 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
68 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
69 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
70 inline ResourceGroup& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 inline ResourceGroup& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
72 inline ResourceGroup& WithArn(const char* value) { SetArn(value); return *this;}
74
76
80 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
81 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
82 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
83 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
84 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
85 inline ResourceGroup& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
86 inline ResourceGroup& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
87 inline ResourceGroup& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
89 private:
90
91 ResourceGroupState m_state;
92 bool m_stateHasBeenSet = false;
93
94 Aws::String m_arn;
95 bool m_arnHasBeenSet = false;
96
97 Aws::String m_errorMessage;
98 bool m_errorMessageHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace AppRegistry
103} // namespace Aws
void SetArn(const Aws::String &value)
ResourceGroup & WithArn(Aws::String &&value)
ResourceGroup & WithState(ResourceGroupState &&value)
ResourceGroup & WithArn(const char *value)
void SetArn(Aws::String &&value)
void SetErrorMessage(Aws::String &&value)
ResourceGroup & WithState(const ResourceGroupState &value)
void SetErrorMessage(const Aws::String &value)
ResourceGroup & WithErrorMessage(const char *value)
ResourceGroup & WithErrorMessage(const Aws::String &value)
const ResourceGroupState & GetState() const
const Aws::String & GetErrorMessage() const
ResourceGroup & WithErrorMessage(Aws::String &&value)
const Aws::String & GetArn() const
ResourceGroup & WithArn(const Aws::String &value)
void SetState(ResourceGroupState &&value)
AWS_APPREGISTRY_API ResourceGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetState(const ResourceGroupState &value)
void SetErrorMessage(const char *value)
AWS_APPREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPREGISTRY_API ResourceGroup(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue