AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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 AccessAnalyzer
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_ACCESSANALYZER_API AclGrantee();
38 AWS_ACCESSANALYZER_API AclGrantee(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ACCESSANALYZER_API AclGrantee& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline AclGrantee& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline AclGrantee& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline AclGrantee& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::String& GetUri() const{ return m_uri; }
63 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
64 inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
65 inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
66 inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
67 inline AclGrantee& WithUri(const Aws::String& value) { SetUri(value); return *this;}
68 inline AclGrantee& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
69 inline AclGrantee& WithUri(const char* value) { SetUri(value); return *this;}
71 private:
72
73 Aws::String m_id;
74 bool m_idHasBeenSet = false;
75
76 Aws::String m_uri;
77 bool m_uriHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace AccessAnalyzer
82} // namespace Aws
const Aws::String & GetId() const
Definition AclGrantee.h:48
void SetUri(const char *value)
Definition AclGrantee.h:66
AWS_ACCESSANALYZER_API AclGrantee()
void SetId(const Aws::String &value)
Definition AclGrantee.h:50
void SetId(Aws::String &&value)
Definition AclGrantee.h:51
AclGrantee & WithId(const char *value)
Definition AclGrantee.h:55
void SetUri(Aws::String &&value)
Definition AclGrantee.h:65
void SetId(const char *value)
Definition AclGrantee.h:52
AclGrantee & WithId(Aws::String &&value)
Definition AclGrantee.h:54
AclGrantee & WithUri(const char *value)
Definition AclGrantee.h:69
AclGrantee & WithId(const Aws::String &value)
Definition AclGrantee.h:53
AclGrantee & WithUri(const Aws::String &value)
Definition AclGrantee.h:67
const Aws::String & GetUri() const
Definition AclGrantee.h:62
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ACCESSANALYZER_API AclGrantee(Aws::Utils::Json::JsonView jsonValue)
AclGrantee & WithUri(Aws::String &&value)
Definition AclGrantee.h:68
void SetUri(const Aws::String &value)
Definition AclGrantee.h:64
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