AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GroupInformation.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_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 Greengrass
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GREENGRASS_API GroupInformation() = default;
35 AWS_GREENGRASS_API GroupInformation(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GREENGRASS_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 template<typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
48 template<typename ArnT = Aws::String>
49 GroupInformation& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
51
53
56 inline const Aws::String& GetCreationTimestamp() const { return m_creationTimestamp; }
57 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
58 template<typename CreationTimestampT = Aws::String>
59 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
60 template<typename CreationTimestampT = Aws::String>
61 GroupInformation& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
63
65
68 inline const Aws::String& GetId() const { return m_id; }
69 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
70 template<typename IdT = Aws::String>
71 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
72 template<typename IdT = Aws::String>
73 GroupInformation& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
75
77
80 inline const Aws::String& GetLastUpdatedTimestamp() const { return m_lastUpdatedTimestamp; }
81 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
82 template<typename LastUpdatedTimestampT = Aws::String>
83 void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value); }
84 template<typename LastUpdatedTimestampT = Aws::String>
85 GroupInformation& WithLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { SetLastUpdatedTimestamp(std::forward<LastUpdatedTimestampT>(value)); return *this;}
87
89
92 inline const Aws::String& GetLatestVersion() const { return m_latestVersion; }
93 inline bool LatestVersionHasBeenSet() const { return m_latestVersionHasBeenSet; }
94 template<typename LatestVersionT = Aws::String>
95 void SetLatestVersion(LatestVersionT&& value) { m_latestVersionHasBeenSet = true; m_latestVersion = std::forward<LatestVersionT>(value); }
96 template<typename LatestVersionT = Aws::String>
97 GroupInformation& WithLatestVersion(LatestVersionT&& value) { SetLatestVersion(std::forward<LatestVersionT>(value)); return *this;}
99
101
104 inline const Aws::String& GetLatestVersionArn() const { return m_latestVersionArn; }
105 inline bool LatestVersionArnHasBeenSet() const { return m_latestVersionArnHasBeenSet; }
106 template<typename LatestVersionArnT = Aws::String>
107 void SetLatestVersionArn(LatestVersionArnT&& value) { m_latestVersionArnHasBeenSet = true; m_latestVersionArn = std::forward<LatestVersionArnT>(value); }
108 template<typename LatestVersionArnT = Aws::String>
109 GroupInformation& WithLatestVersionArn(LatestVersionArnT&& value) { SetLatestVersionArn(std::forward<LatestVersionArnT>(value)); return *this;}
111
113
116 inline const Aws::String& GetName() const { return m_name; }
117 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
118 template<typename NameT = Aws::String>
119 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
120 template<typename NameT = Aws::String>
121 GroupInformation& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
123 private:
124
125 Aws::String m_arn;
126 bool m_arnHasBeenSet = false;
127
128 Aws::String m_creationTimestamp;
129 bool m_creationTimestampHasBeenSet = false;
130
131 Aws::String m_id;
132 bool m_idHasBeenSet = false;
133
134 Aws::String m_lastUpdatedTimestamp;
135 bool m_lastUpdatedTimestampHasBeenSet = false;
136
137 Aws::String m_latestVersion;
138 bool m_latestVersionHasBeenSet = false;
139
140 Aws::String m_latestVersionArn;
141 bool m_latestVersionArnHasBeenSet = false;
142
143 Aws::String m_name;
144 bool m_nameHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Greengrass
149} // namespace Aws
GroupInformation & WithArn(ArnT &&value)
const Aws::String & GetLastUpdatedTimestamp() const
const Aws::String & GetCreationTimestamp() const
GroupInformation & WithId(IdT &&value)
void SetCreationTimestamp(CreationTimestampT &&value)
void SetLatestVersion(LatestVersionT &&value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLatestVersionArn(LatestVersionArnT &&value)
GroupInformation & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
GroupInformation & WithName(NameT &&value)
GroupInformation & WithLatestVersion(LatestVersionT &&value)
AWS_GREENGRASS_API GroupInformation()=default
AWS_GREENGRASS_API GroupInformation(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
GroupInformation & WithCreationTimestamp(CreationTimestampT &&value)
GroupInformation & WithLatestVersionArn(LatestVersionArnT &&value)
const Aws::String & GetLatestVersion() const
AWS_GREENGRASS_API GroupInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLatestVersionArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue