AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedshiftSelfGrantStatusOutput.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/model/SelfGrantStatusDetail.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataZone
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<SelfGrantStatusDetail>& GetSelfGrantStatusDetails() const{ return m_selfGrantStatusDetails; }
48 inline bool SelfGrantStatusDetailsHasBeenSet() const { return m_selfGrantStatusDetailsHasBeenSet; }
49 inline void SetSelfGrantStatusDetails(const Aws::Vector<SelfGrantStatusDetail>& value) { m_selfGrantStatusDetailsHasBeenSet = true; m_selfGrantStatusDetails = value; }
50 inline void SetSelfGrantStatusDetails(Aws::Vector<SelfGrantStatusDetail>&& value) { m_selfGrantStatusDetailsHasBeenSet = true; m_selfGrantStatusDetails = std::move(value); }
53 inline RedshiftSelfGrantStatusOutput& AddSelfGrantStatusDetails(const SelfGrantStatusDetail& value) { m_selfGrantStatusDetailsHasBeenSet = true; m_selfGrantStatusDetails.push_back(value); return *this; }
54 inline RedshiftSelfGrantStatusOutput& AddSelfGrantStatusDetails(SelfGrantStatusDetail&& value) { m_selfGrantStatusDetailsHasBeenSet = true; m_selfGrantStatusDetails.push_back(std::move(value)); return *this; }
56 private:
57
58 Aws::Vector<SelfGrantStatusDetail> m_selfGrantStatusDetails;
59 bool m_selfGrantStatusDetailsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace DataZone
64} // namespace Aws
RedshiftSelfGrantStatusOutput & AddSelfGrantStatusDetails(SelfGrantStatusDetail &&value)
void SetSelfGrantStatusDetails(const Aws::Vector< SelfGrantStatusDetail > &value)
RedshiftSelfGrantStatusOutput & WithSelfGrantStatusDetails(Aws::Vector< SelfGrantStatusDetail > &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftSelfGrantStatusOutput & AddSelfGrantStatusDetails(const SelfGrantStatusDetail &value)
AWS_DATAZONE_API RedshiftSelfGrantStatusOutput(Aws::Utils::Json::JsonView jsonValue)
void SetSelfGrantStatusDetails(Aws::Vector< SelfGrantStatusDetail > &&value)
RedshiftSelfGrantStatusOutput & WithSelfGrantStatusDetails(const Aws::Vector< SelfGrantStatusDetail > &value)
AWS_DATAZONE_API RedshiftSelfGrantStatusOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SelfGrantStatusDetail > & GetSelfGrantStatusDetails() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue