AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTrailsResult.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudtrail/model/Trail.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CloudTrail
26{
27namespace Model
28{
36 {
37 public:
38 AWS_CLOUDTRAIL_API DescribeTrailsResult();
41
42
44
52 inline const Aws::Vector<Trail>& GetTrailList() const{ return m_trailList; }
53 inline void SetTrailList(const Aws::Vector<Trail>& value) { m_trailList = value; }
54 inline void SetTrailList(Aws::Vector<Trail>&& value) { m_trailList = std::move(value); }
55 inline DescribeTrailsResult& WithTrailList(const Aws::Vector<Trail>& value) { SetTrailList(value); return *this;}
56 inline DescribeTrailsResult& WithTrailList(Aws::Vector<Trail>&& value) { SetTrailList(std::move(value)); return *this;}
57 inline DescribeTrailsResult& AddTrailList(const Trail& value) { m_trailList.push_back(value); return *this; }
58 inline DescribeTrailsResult& AddTrailList(Trail&& value) { m_trailList.push_back(std::move(value)); return *this; }
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline DescribeTrailsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline DescribeTrailsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline DescribeTrailsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 Aws::Vector<Trail> m_trailList;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace CloudTrail
80} // namespace Aws
AWS_CLOUDTRAIL_API DescribeTrailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDTRAIL_API DescribeTrailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTrailsResult & WithTrailList(const Aws::Vector< Trail > &value)
DescribeTrailsResult & WithRequestId(const Aws::String &value)
const Aws::Vector< Trail > & GetTrailList() const
DescribeTrailsResult & WithTrailList(Aws::Vector< Trail > &&value)
DescribeTrailsResult & WithRequestId(const char *value)
DescribeTrailsResult & WithRequestId(Aws::String &&value)
void SetTrailList(const Aws::Vector< Trail > &value)
void SetTrailList(Aws::Vector< Trail > &&value)
DescribeTrailsResult & AddTrailList(const Trail &value)
DescribeTrailsResult & AddTrailList(Trail &&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