AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTrailsRequest.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/CloudTrailRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudTrail
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_CLOUDTRAIL_API DescribeTrailsRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeTrails"; }
35
36 AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override;
37
39
40
42
57 inline const Aws::Vector<Aws::String>& GetTrailNameList() const{ return m_trailNameList; }
58 inline bool TrailNameListHasBeenSet() const { return m_trailNameListHasBeenSet; }
59 inline void SetTrailNameList(const Aws::Vector<Aws::String>& value) { m_trailNameListHasBeenSet = true; m_trailNameList = value; }
60 inline void SetTrailNameList(Aws::Vector<Aws::String>&& value) { m_trailNameListHasBeenSet = true; m_trailNameList = std::move(value); }
62 inline DescribeTrailsRequest& WithTrailNameList(Aws::Vector<Aws::String>&& value) { SetTrailNameList(std::move(value)); return *this;}
63 inline DescribeTrailsRequest& AddTrailNameList(const Aws::String& value) { m_trailNameListHasBeenSet = true; m_trailNameList.push_back(value); return *this; }
64 inline DescribeTrailsRequest& AddTrailNameList(Aws::String&& value) { m_trailNameListHasBeenSet = true; m_trailNameList.push_back(std::move(value)); return *this; }
65 inline DescribeTrailsRequest& AddTrailNameList(const char* value) { m_trailNameListHasBeenSet = true; m_trailNameList.push_back(value); return *this; }
67
69
77 inline bool GetIncludeShadowTrails() const{ return m_includeShadowTrails; }
78 inline bool IncludeShadowTrailsHasBeenSet() const { return m_includeShadowTrailsHasBeenSet; }
79 inline void SetIncludeShadowTrails(bool value) { m_includeShadowTrailsHasBeenSet = true; m_includeShadowTrails = value; }
80 inline DescribeTrailsRequest& WithIncludeShadowTrails(bool value) { SetIncludeShadowTrails(value); return *this;}
82 private:
83
84 Aws::Vector<Aws::String> m_trailNameList;
85 bool m_trailNameListHasBeenSet = false;
86
87 bool m_includeShadowTrails;
88 bool m_includeShadowTrailsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CloudTrail
93} // namespace Aws
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTrailNameList(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetTrailNameList() const
void SetTrailNameList(Aws::Vector< Aws::String > &&value)
DescribeTrailsRequest & AddTrailNameList(const char *value)
DescribeTrailsRequest & WithIncludeShadowTrails(bool value)
DescribeTrailsRequest & AddTrailNameList(const Aws::String &value)
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
DescribeTrailsRequest & WithTrailNameList(Aws::Vector< Aws::String > &&value)
DescribeTrailsRequest & WithTrailNameList(const Aws::Vector< Aws::String > &value)
DescribeTrailsRequest & AddTrailNameList(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector