AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
34
35
37
41 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
42 template<typename RoleArnT = Aws::String>
43 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
44 template<typename RoleArnT = Aws::String>
45 DescribeDRTAccessResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
47
49
52 inline const Aws::Vector<Aws::String>& GetLogBucketList() const { return m_logBucketList; }
53 template<typename LogBucketListT = Aws::Vector<Aws::String>>
54 void SetLogBucketList(LogBucketListT&& value) { m_logBucketListHasBeenSet = true; m_logBucketList = std::forward<LogBucketListT>(value); }
55 template<typename LogBucketListT = Aws::Vector<Aws::String>>
56 DescribeDRTAccessResult& WithLogBucketList(LogBucketListT&& value) { SetLogBucketList(std::forward<LogBucketListT>(value)); return *this;}
57 template<typename LogBucketListT = Aws::String>
58 DescribeDRTAccessResult& AddLogBucketList(LogBucketListT&& value) { m_logBucketListHasBeenSet = true; m_logBucketList.emplace_back(std::forward<LogBucketListT>(value)); return *this; }
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template<typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
66 template<typename RequestIdT = Aws::String>
67 DescribeDRTAccessResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
69 private:
70
71 Aws::String m_roleArn;
72 bool m_roleArnHasBeenSet = false;
73
74 Aws::Vector<Aws::String> m_logBucketList;
75 bool m_logBucketListHasBeenSet = false;
76
77 Aws::String m_requestId;
78 bool m_requestIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Shield
83} // namespace Aws
DescribeDRTAccessResult & WithRequestId(RequestIdT &&value)
AWS_SHIELD_API DescribeDRTAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDRTAccessResult & WithLogBucketList(LogBucketListT &&value)
AWS_SHIELD_API DescribeDRTAccessResult()=default
AWS_SHIELD_API DescribeDRTAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDRTAccessResult & AddLogBucketList(LogBucketListT &&value)
const Aws::Vector< Aws::String > & GetLogBucketList() const
DescribeDRTAccessResult & WithRoleArn(RoleArnT &&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