AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateChannelResult.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudtrail/model/Destination.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{
30 {
31 public:
32 AWS_CLOUDTRAIL_API UpdateChannelResult();
35
36
38
41 inline const Aws::String& GetChannelArn() const{ return m_channelArn; }
42 inline void SetChannelArn(const Aws::String& value) { m_channelArn = value; }
43 inline void SetChannelArn(Aws::String&& value) { m_channelArn = std::move(value); }
44 inline void SetChannelArn(const char* value) { m_channelArn.assign(value); }
45 inline UpdateChannelResult& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;}
46 inline UpdateChannelResult& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;}
47 inline UpdateChannelResult& WithChannelArn(const char* value) { SetChannelArn(value); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline void SetName(const Aws::String& value) { m_name = value; }
56 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
57 inline void SetName(const char* value) { m_name.assign(value); }
58 inline UpdateChannelResult& WithName(const Aws::String& value) { SetName(value); return *this;}
59 inline UpdateChannelResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
60 inline UpdateChannelResult& WithName(const char* value) { SetName(value); return *this;}
62
64
67 inline const Aws::String& GetSource() const{ return m_source; }
68 inline void SetSource(const Aws::String& value) { m_source = value; }
69 inline void SetSource(Aws::String&& value) { m_source = std::move(value); }
70 inline void SetSource(const char* value) { m_source.assign(value); }
71 inline UpdateChannelResult& WithSource(const Aws::String& value) { SetSource(value); return *this;}
72 inline UpdateChannelResult& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
73 inline UpdateChannelResult& WithSource(const char* value) { SetSource(value); return *this;}
75
77
80 inline const Aws::Vector<Destination>& GetDestinations() const{ return m_destinations; }
81 inline void SetDestinations(const Aws::Vector<Destination>& value) { m_destinations = value; }
82 inline void SetDestinations(Aws::Vector<Destination>&& value) { m_destinations = std::move(value); }
84 inline UpdateChannelResult& WithDestinations(Aws::Vector<Destination>&& value) { SetDestinations(std::move(value)); return *this;}
85 inline UpdateChannelResult& AddDestinations(const Destination& value) { m_destinations.push_back(value); return *this; }
86 inline UpdateChannelResult& AddDestinations(Destination&& value) { m_destinations.push_back(std::move(value)); return *this; }
88
90
91 inline const Aws::String& GetRequestId() const{ return m_requestId; }
92 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
93 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
94 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
95 inline UpdateChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
96 inline UpdateChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
97 inline UpdateChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
99 private:
100
101 Aws::String m_channelArn;
102
103 Aws::String m_name;
104
105 Aws::String m_source;
106
107 Aws::Vector<Destination> m_destinations;
108
109 Aws::String m_requestId;
110 };
111
112} // namespace Model
113} // namespace CloudTrail
114} // namespace Aws
UpdateChannelResult & WithName(const Aws::String &value)
UpdateChannelResult & WithRequestId(const char *value)
UpdateChannelResult & AddDestinations(Destination &&value)
UpdateChannelResult & WithDestinations(Aws::Vector< Destination > &&value)
UpdateChannelResult & WithDestinations(const Aws::Vector< Destination > &value)
void SetChannelArn(const Aws::String &value)
UpdateChannelResult & WithChannelArn(const Aws::String &value)
UpdateChannelResult & WithChannelArn(const char *value)
void SetDestinations(Aws::Vector< Destination > &&value)
UpdateChannelResult & WithRequestId(Aws::String &&value)
AWS_CLOUDTRAIL_API UpdateChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateChannelResult & WithSource(Aws::String &&value)
AWS_CLOUDTRAIL_API UpdateChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
UpdateChannelResult & WithName(Aws::String &&value)
const Aws::Vector< Destination > & GetDestinations() const
UpdateChannelResult & WithChannelArn(Aws::String &&value)
UpdateChannelResult & WithSource(const char *value)
UpdateChannelResult & AddDestinations(const Destination &value)
void SetDestinations(const Aws::Vector< Destination > &value)
UpdateChannelResult & WithSource(const Aws::String &value)
UpdateChannelResult & WithName(const char *value)
UpdateChannelResult & WithRequestId(const 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