AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
36 AWS_DATAZONE_API RedshiftSelfGrantStatusOutput() = default;
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 template<typename SelfGrantStatusDetailsT = Aws::Vector<SelfGrantStatusDetail>>
50 void SetSelfGrantStatusDetails(SelfGrantStatusDetailsT&& value) { m_selfGrantStatusDetailsHasBeenSet = true; m_selfGrantStatusDetails = std::forward<SelfGrantStatusDetailsT>(value); }
51 template<typename SelfGrantStatusDetailsT = Aws::Vector<SelfGrantStatusDetail>>
52 RedshiftSelfGrantStatusOutput& WithSelfGrantStatusDetails(SelfGrantStatusDetailsT&& value) { SetSelfGrantStatusDetails(std::forward<SelfGrantStatusDetailsT>(value)); return *this;}
53 template<typename SelfGrantStatusDetailsT = SelfGrantStatusDetail>
54 RedshiftSelfGrantStatusOutput& AddSelfGrantStatusDetails(SelfGrantStatusDetailsT&& value) { m_selfGrantStatusDetailsHasBeenSet = true; m_selfGrantStatusDetails.emplace_back(std::forward<SelfGrantStatusDetailsT>(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 & 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