AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
GroupNameAndArn.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoT {
20namespace Model {
21
28 public:
29 AWS_IOT_API GroupNameAndArn() = default;
33
35
38 inline const Aws::String& GetGroupName() const { return m_groupName; }
39 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
40 template <typename GroupNameT = Aws::String>
41 void SetGroupName(GroupNameT&& value) {
42 m_groupNameHasBeenSet = true;
43 m_groupName = std::forward<GroupNameT>(value);
44 }
45 template <typename GroupNameT = Aws::String>
46 GroupNameAndArn& WithGroupName(GroupNameT&& value) {
47 SetGroupName(std::forward<GroupNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetGroupArn() const { return m_groupArn; }
57 inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; }
58 template <typename GroupArnT = Aws::String>
59 void SetGroupArn(GroupArnT&& value) {
60 m_groupArnHasBeenSet = true;
61 m_groupArn = std::forward<GroupArnT>(value);
62 }
63 template <typename GroupArnT = Aws::String>
64 GroupNameAndArn& WithGroupArn(GroupArnT&& value) {
65 SetGroupArn(std::forward<GroupArnT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_groupName;
71
72 Aws::String m_groupArn;
73 bool m_groupNameHasBeenSet = false;
74 bool m_groupArnHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace IoT
79} // namespace Aws
void SetGroupArn(GroupArnT &&value)
const Aws::String & GetGroupArn() const
AWS_IOT_API GroupNameAndArn(Aws::Utils::Json::JsonView jsonValue)
GroupNameAndArn & WithGroupName(GroupNameT &&value)
AWS_IOT_API GroupNameAndArn()=default
AWS_IOT_API GroupNameAndArn & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
GroupNameAndArn & WithGroupArn(GroupArnT &&value)
const Aws::String & GetGroupName() const
void SetGroupName(GroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue