AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDRTAccessResult.h
1
6#pragma once
7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Shield
25{
26namespace Model
27{
29 {
30 public:
31 AWS_SHIELD_API DescribeDRTAccessResult();
34
35
37
41 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
42 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
43 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
44 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
45 inline DescribeDRTAccessResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
46 inline DescribeDRTAccessResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
47 inline DescribeDRTAccessResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
49
51
54 inline const Aws::Vector<Aws::String>& GetLogBucketList() const{ return m_logBucketList; }
55 inline void SetLogBucketList(const Aws::Vector<Aws::String>& value) { m_logBucketList = value; }
56 inline void SetLogBucketList(Aws::Vector<Aws::String>&& value) { m_logBucketList = std::move(value); }
58 inline DescribeDRTAccessResult& WithLogBucketList(Aws::Vector<Aws::String>&& value) { SetLogBucketList(std::move(value)); return *this;}
59 inline DescribeDRTAccessResult& AddLogBucketList(const Aws::String& value) { m_logBucketList.push_back(value); return *this; }
60 inline DescribeDRTAccessResult& AddLogBucketList(Aws::String&& value) { m_logBucketList.push_back(std::move(value)); return *this; }
61 inline DescribeDRTAccessResult& AddLogBucketList(const char* value) { m_logBucketList.push_back(value); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline DescribeDRTAccessResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline DescribeDRTAccessResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline DescribeDRTAccessResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::String m_roleArn;
77
78 Aws::Vector<Aws::String> m_logBucketList;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace Shield
85} // namespace Aws
DescribeDRTAccessResult & WithRequestId(const Aws::String &value)
DescribeDRTAccessResult & WithRequestId(Aws::String &&value)
void SetLogBucketList(Aws::Vector< Aws::String > &&value)
DescribeDRTAccessResult & WithLogBucketList(Aws::Vector< Aws::String > &&value)
DescribeDRTAccessResult & AddLogBucketList(const Aws::String &value)
DescribeDRTAccessResult & WithLogBucketList(const Aws::Vector< Aws::String > &value)
DescribeDRTAccessResult & AddLogBucketList(Aws::String &&value)
DescribeDRTAccessResult & AddLogBucketList(const char *value)
DescribeDRTAccessResult & WithRoleArn(Aws::String &&value)
DescribeDRTAccessResult & WithRoleArn(const Aws::String &value)
AWS_SHIELD_API DescribeDRTAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SHIELD_API DescribeDRTAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetLogBucketList() const
DescribeDRTAccessResult & WithRoleArn(const char *value)
DescribeDRTAccessResult & WithRequestId(const char *value)
void SetLogBucketList(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue