AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
RedshiftSelfGrantStatusOutput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/SelfGrantStatusDetail.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
30 public:
31 AWS_DATAZONE_API RedshiftSelfGrantStatusOutput() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<SelfGrantStatusDetail>& GetSelfGrantStatusDetails() const { return m_selfGrantStatusDetails; }
42 inline bool SelfGrantStatusDetailsHasBeenSet() const { return m_selfGrantStatusDetailsHasBeenSet; }
43 template <typename SelfGrantStatusDetailsT = Aws::Vector<SelfGrantStatusDetail>>
44 void SetSelfGrantStatusDetails(SelfGrantStatusDetailsT&& value) {
45 m_selfGrantStatusDetailsHasBeenSet = true;
46 m_selfGrantStatusDetails = std::forward<SelfGrantStatusDetailsT>(value);
47 }
48 template <typename SelfGrantStatusDetailsT = Aws::Vector<SelfGrantStatusDetail>>
50 SetSelfGrantStatusDetails(std::forward<SelfGrantStatusDetailsT>(value));
51 return *this;
52 }
53 template <typename SelfGrantStatusDetailsT = SelfGrantStatusDetail>
54 RedshiftSelfGrantStatusOutput& AddSelfGrantStatusDetails(SelfGrantStatusDetailsT&& value) {
55 m_selfGrantStatusDetailsHasBeenSet = true;
56 m_selfGrantStatusDetails.emplace_back(std::forward<SelfGrantStatusDetailsT>(value));
57 return *this;
58 }
60 private:
61 Aws::Vector<SelfGrantStatusDetail> m_selfGrantStatusDetails;
62 bool m_selfGrantStatusDetailsHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace DataZone
67} // namespace Aws
RedshiftSelfGrantStatusOutput & WithSelfGrantStatusDetails(SelfGrantStatusDetailsT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API RedshiftSelfGrantStatusOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API RedshiftSelfGrantStatusOutput()=default
AWS_DATAZONE_API RedshiftSelfGrantStatusOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SelfGrantStatusDetail > & GetSelfGrantStatusDetails() const
RedshiftSelfGrantStatusOutput & AddSelfGrantStatusDetails(SelfGrantStatusDetailsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue