AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAccessLogSubscriptionResult.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace VPCLattice
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline const Aws::String& GetArn() const{ return m_arn; }
40 inline void SetArn(const Aws::String& value) { m_arn = value; }
41 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
42 inline void SetArn(const char* value) { m_arn.assign(value); }
43 inline UpdateAccessLogSubscriptionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
44 inline UpdateAccessLogSubscriptionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
45 inline UpdateAccessLogSubscriptionResult& WithArn(const char* value) { SetArn(value); return *this;}
47
49
52 inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
53 inline void SetDestinationArn(const Aws::String& value) { m_destinationArn = value; }
54 inline void SetDestinationArn(Aws::String&& value) { m_destinationArn = std::move(value); }
55 inline void SetDestinationArn(const char* value) { m_destinationArn.assign(value); }
57 inline UpdateAccessLogSubscriptionResult& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
58 inline UpdateAccessLogSubscriptionResult& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
60
62
65 inline const Aws::String& GetId() const{ return m_id; }
66 inline void SetId(const Aws::String& value) { m_id = value; }
67 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
68 inline void SetId(const char* value) { m_id.assign(value); }
69 inline UpdateAccessLogSubscriptionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
70 inline UpdateAccessLogSubscriptionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 inline UpdateAccessLogSubscriptionResult& WithId(const char* value) { SetId(value); return *this;}
73
75
78 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
79 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
80 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
81 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
82 inline UpdateAccessLogSubscriptionResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
83 inline UpdateAccessLogSubscriptionResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
84 inline UpdateAccessLogSubscriptionResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
86
88
91 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
92 inline void SetResourceId(const Aws::String& value) { m_resourceId = value; }
93 inline void SetResourceId(Aws::String&& value) { m_resourceId = std::move(value); }
94 inline void SetResourceId(const char* value) { m_resourceId.assign(value); }
95 inline UpdateAccessLogSubscriptionResult& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
96 inline UpdateAccessLogSubscriptionResult& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
97 inline UpdateAccessLogSubscriptionResult& WithResourceId(const char* value) { SetResourceId(value); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const{ return m_requestId; }
103 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
104 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
105 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
106 inline UpdateAccessLogSubscriptionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 inline UpdateAccessLogSubscriptionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline UpdateAccessLogSubscriptionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
110 private:
111
112 Aws::String m_arn;
113
114 Aws::String m_destinationArn;
115
116 Aws::String m_id;
117
118 Aws::String m_resourceArn;
119
120 Aws::String m_resourceId;
121
122 Aws::String m_requestId;
123 };
124
125} // namespace Model
126} // namespace VPCLattice
127} // namespace Aws
AWS_VPCLATTICE_API UpdateAccessLogSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAccessLogSubscriptionResult & WithResourceId(const char *value)
UpdateAccessLogSubscriptionResult & WithResourceId(const Aws::String &value)
UpdateAccessLogSubscriptionResult & WithRequestId(const char *value)
UpdateAccessLogSubscriptionResult & WithResourceArn(const Aws::String &value)
UpdateAccessLogSubscriptionResult & WithResourceId(Aws::String &&value)
UpdateAccessLogSubscriptionResult & WithResourceArn(const char *value)
UpdateAccessLogSubscriptionResult & WithDestinationArn(Aws::String &&value)
UpdateAccessLogSubscriptionResult & WithArn(const Aws::String &value)
UpdateAccessLogSubscriptionResult & WithDestinationArn(const char *value)
UpdateAccessLogSubscriptionResult & WithId(const Aws::String &value)
UpdateAccessLogSubscriptionResult & WithRequestId(const Aws::String &value)
UpdateAccessLogSubscriptionResult & WithDestinationArn(const Aws::String &value)
UpdateAccessLogSubscriptionResult & WithArn(Aws::String &&value)
UpdateAccessLogSubscriptionResult & WithId(Aws::String &&value)
UpdateAccessLogSubscriptionResult & WithRequestId(Aws::String &&value)
AWS_VPCLATTICE_API UpdateAccessLogSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAccessLogSubscriptionResult & WithResourceArn(Aws::String &&value)
UpdateAccessLogSubscriptionResult & WithArn(const char *value)
UpdateAccessLogSubscriptionResult & WithId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue