AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
AclGrantee.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AccessAnalyzer {
20namespace Model {
21
31 public:
32 AWS_ACCESSANALYZER_API AclGrantee() = default;
33 AWS_ACCESSANALYZER_API AclGrantee(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ACCESSANALYZER_API AclGrantee& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
50 AclGrantee& WithId(IdT&& value) {
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetUri() const { return m_uri; }
61 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
62 template <typename UriT = Aws::String>
63 void SetUri(UriT&& value) {
64 m_uriHasBeenSet = true;
65 m_uri = std::forward<UriT>(value);
66 }
67 template <typename UriT = Aws::String>
68 AclGrantee& WithUri(UriT&& value) {
69 SetUri(std::forward<UriT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_id;
75
76 Aws::String m_uri;
77 bool m_idHasBeenSet = false;
78 bool m_uriHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace AccessAnalyzer
83} // namespace Aws
const Aws::String & GetId() const
Definition AclGrantee.h:42
AWS_ACCESSANALYZER_API AclGrantee()=default
const Aws::String & GetUri() const
Definition AclGrantee.h:60
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ACCESSANALYZER_API AclGrantee(Aws::Utils::Json::JsonView jsonValue)
AclGrantee & WithUri(UriT &&value)
Definition AclGrantee.h:68
AclGrantee & WithId(IdT &&value)
Definition AclGrantee.h:50
AWS_ACCESSANALYZER_API AclGrantee & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue