AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Source.h
1
6#pragma once
7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/rolesanywhere/model/SourceData.h>
9#include <aws/rolesanywhere/model/TrustAnchorType.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 RolesAnywhere
23{
24namespace Model
25{
26
33 class Source
34 {
35 public:
36 AWS_ROLESANYWHERE_API Source();
37 AWS_ROLESANYWHERE_API Source(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROLESANYWHERE_API Source& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const SourceData& GetSourceData() const{ return m_sourceData; }
47 inline bool SourceDataHasBeenSet() const { return m_sourceDataHasBeenSet; }
48 inline void SetSourceData(const SourceData& value) { m_sourceDataHasBeenSet = true; m_sourceData = value; }
49 inline void SetSourceData(SourceData&& value) { m_sourceDataHasBeenSet = true; m_sourceData = std::move(value); }
50 inline Source& WithSourceData(const SourceData& value) { SetSourceData(value); return *this;}
51 inline Source& WithSourceData(SourceData&& value) { SetSourceData(std::move(value)); return *this;}
53
55
58 inline const TrustAnchorType& GetSourceType() const{ return m_sourceType; }
59 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
60 inline void SetSourceType(const TrustAnchorType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
61 inline void SetSourceType(TrustAnchorType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
62 inline Source& WithSourceType(const TrustAnchorType& value) { SetSourceType(value); return *this;}
63 inline Source& WithSourceType(TrustAnchorType&& value) { SetSourceType(std::move(value)); return *this;}
65 private:
66
67 SourceData m_sourceData;
68 bool m_sourceDataHasBeenSet = false;
69
70 TrustAnchorType m_sourceType;
71 bool m_sourceTypeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace RolesAnywhere
76} // namespace Aws
AWS_ROLESANYWHERE_API Source & operator=(Aws::Utils::Json::JsonView jsonValue)
const TrustAnchorType & GetSourceType() const
Definition Source.h:58
const SourceData & GetSourceData() const
Definition Source.h:46
bool SourceDataHasBeenSet() const
Definition Source.h:47
Source & WithSourceType(TrustAnchorType &&value)
Definition Source.h:63
Source & WithSourceData(const SourceData &value)
Definition Source.h:50
AWS_ROLESANYWHERE_API Source()
void SetSourceData(const SourceData &value)
Definition Source.h:48
Source & WithSourceType(const TrustAnchorType &value)
Definition Source.h:62
void SetSourceType(const TrustAnchorType &value)
Definition Source.h:60
AWS_ROLESANYWHERE_API Source(Aws::Utils::Json::JsonView jsonValue)
Source & WithSourceData(SourceData &&value)
Definition Source.h:51
void SetSourceType(TrustAnchorType &&value)
Definition Source.h:61
void SetSourceData(SourceData &&value)
Definition Source.h:49
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
bool SourceTypeHasBeenSet() const
Definition Source.h:59
Aws::Utils::Json::JsonValue JsonValue