AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 AclGrantee& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_uriHasBeenSet = true; m_uri = std::forward<UriT>(value); }
64 template<typename UriT = Aws::String>
65 AclGrantee& WithUri(UriT&& value) { SetUri(std::forward<UriT>(value)); return *this;}
67 private:
68
69 Aws::String m_id;
70 bool m_idHasBeenSet = false;
71
72 Aws::String m_uri;
73 bool m_uriHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace AccessAnalyzer
78} // namespace Aws
const Aws::String & GetId() const
Definition AclGrantee.h:48
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:65
AclGrantee & WithId(IdT &&value)
Definition AclGrantee.h:53
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