AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
ConfigListItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/groundstation/GroundStation_EXPORTS.h>
9#include <aws/groundstation/model/ConfigCapabilityType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GroundStation {
21namespace Model {
22
30 public:
31 AWS_GROUNDSTATION_API ConfigListItem() = default;
32 AWS_GROUNDSTATION_API ConfigListItem(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GROUNDSTATION_API ConfigListItem& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetConfigId() const { return m_configId; }
41 inline bool ConfigIdHasBeenSet() const { return m_configIdHasBeenSet; }
42 template <typename ConfigIdT = Aws::String>
43 void SetConfigId(ConfigIdT&& value) {
44 m_configIdHasBeenSet = true;
45 m_configId = std::forward<ConfigIdT>(value);
46 }
47 template <typename ConfigIdT = Aws::String>
48 ConfigListItem& WithConfigId(ConfigIdT&& value) {
49 SetConfigId(std::forward<ConfigIdT>(value));
50 return *this;
51 }
53
55
58 inline ConfigCapabilityType GetConfigType() const { return m_configType; }
59 inline bool ConfigTypeHasBeenSet() const { return m_configTypeHasBeenSet; }
61 m_configTypeHasBeenSet = true;
62 m_configType = value;
63 }
65 SetConfigType(value);
66 return *this;
67 }
69
71
74 inline const Aws::String& GetConfigArn() const { return m_configArn; }
75 inline bool ConfigArnHasBeenSet() const { return m_configArnHasBeenSet; }
76 template <typename ConfigArnT = Aws::String>
77 void SetConfigArn(ConfigArnT&& value) {
78 m_configArnHasBeenSet = true;
79 m_configArn = std::forward<ConfigArnT>(value);
80 }
81 template <typename ConfigArnT = Aws::String>
82 ConfigListItem& WithConfigArn(ConfigArnT&& value) {
83 SetConfigArn(std::forward<ConfigArnT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetName() const { return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 template <typename NameT = Aws::String>
95 void SetName(NameT&& value) {
96 m_nameHasBeenSet = true;
97 m_name = std::forward<NameT>(value);
98 }
99 template <typename NameT = Aws::String>
100 ConfigListItem& WithName(NameT&& value) {
101 SetName(std::forward<NameT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_configId;
107
109
110 Aws::String m_configArn;
111
112 Aws::String m_name;
113 bool m_configIdHasBeenSet = false;
114 bool m_configTypeHasBeenSet = false;
115 bool m_configArnHasBeenSet = false;
116 bool m_nameHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace GroundStation
121} // namespace Aws
const Aws::String & GetConfigId() const
ConfigListItem & WithConfigId(ConfigIdT &&value)
ConfigListItem & WithConfigType(ConfigCapabilityType value)
ConfigListItem & WithName(NameT &&value)
AWS_GROUNDSTATION_API ConfigListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigListItem & WithConfigArn(ConfigArnT &&value)
ConfigCapabilityType GetConfigType() const
AWS_GROUNDSTATION_API ConfigListItem()=default
void SetConfigType(ConfigCapabilityType value)
const Aws::String & GetConfigArn() const
AWS_GROUNDSTATION_API ConfigListItem(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue