AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ControlSummary.h
1
6#pragma once
7#include <aws/controlcatalog/ControlCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ControlCatalog
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CONTROLCATALOG_API ControlSummary();
35 AWS_CONTROLCATALOG_API ControlSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CONTROLCATALOG_API ControlSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
47 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
48 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
49 inline ControlSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
50 inline ControlSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
51 inline ControlSummary& WithArn(const char* value) { SetArn(value); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline ControlSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline ControlSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline ControlSummary& WithName(const char* value) { SetName(value); return *this;}
67
69
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline ControlSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline ControlSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline ControlSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
82 private:
83
84 Aws::String m_arn;
85 bool m_arnHasBeenSet = false;
86
87 Aws::String m_name;
88 bool m_nameHasBeenSet = false;
89
90 Aws::String m_description;
91 bool m_descriptionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ControlCatalog
96} // namespace Aws
ControlSummary & WithDescription(Aws::String &&value)
ControlSummary & WithName(Aws::String &&value)
ControlSummary & WithArn(Aws::String &&value)
ControlSummary & WithDescription(const char *value)
void SetArn(const Aws::String &value)
AWS_CONTROLCATALOG_API ControlSummary(Aws::Utils::Json::JsonView jsonValue)
ControlSummary & WithArn(const Aws::String &value)
AWS_CONTROLCATALOG_API ControlSummary()
void SetDescription(const Aws::String &value)
AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ControlSummary & WithName(const char *value)
const Aws::String & GetDescription() const
ControlSummary & WithDescription(const Aws::String &value)
AWS_CONTROLCATALOG_API ControlSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ControlSummary & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
ControlSummary & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue