AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
IamAuthConfiguration.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DevOpsAgent {
21namespace Model {
22
30 public:
31 AWS_DEVOPSAGENT_API IamAuthConfiguration() = default;
32 AWS_DEVOPSAGENT_API IamAuthConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetOperatorAppRoleArn() const { return m_operatorAppRoleArn; }
41 inline bool OperatorAppRoleArnHasBeenSet() const { return m_operatorAppRoleArnHasBeenSet; }
42 template <typename OperatorAppRoleArnT = Aws::String>
43 void SetOperatorAppRoleArn(OperatorAppRoleArnT&& value) {
44 m_operatorAppRoleArnHasBeenSet = true;
45 m_operatorAppRoleArn = std::forward<OperatorAppRoleArnT>(value);
46 }
47 template <typename OperatorAppRoleArnT = Aws::String>
48 IamAuthConfiguration& WithOperatorAppRoleArn(OperatorAppRoleArnT&& value) {
49 SetOperatorAppRoleArn(std::forward<OperatorAppRoleArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
59 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
60 template <typename CreatedAtT = Aws::Utils::DateTime>
61 void SetCreatedAt(CreatedAtT&& value) {
62 m_createdAtHasBeenSet = true;
63 m_createdAt = std::forward<CreatedAtT>(value);
64 }
65 template <typename CreatedAtT = Aws::Utils::DateTime>
66 IamAuthConfiguration& WithCreatedAt(CreatedAtT&& value) {
67 SetCreatedAt(std::forward<CreatedAtT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
77 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
78 template <typename UpdatedAtT = Aws::Utils::DateTime>
79 void SetUpdatedAt(UpdatedAtT&& value) {
80 m_updatedAtHasBeenSet = true;
81 m_updatedAt = std::forward<UpdatedAtT>(value);
82 }
83 template <typename UpdatedAtT = Aws::Utils::DateTime>
84 IamAuthConfiguration& WithUpdatedAt(UpdatedAtT&& value) {
85 SetUpdatedAt(std::forward<UpdatedAtT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_operatorAppRoleArn;
91
92 Aws::Utils::DateTime m_createdAt{};
93
94 Aws::Utils::DateTime m_updatedAt{};
95 bool m_operatorAppRoleArnHasBeenSet = false;
96 bool m_createdAtHasBeenSet = false;
97 bool m_updatedAtHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace DevOpsAgent
102} // namespace Aws
AWS_DEVOPSAGENT_API IamAuthConfiguration()=default
AWS_DEVOPSAGENT_API IamAuthConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API IamAuthConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetOperatorAppRoleArn(OperatorAppRoleArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
IamAuthConfiguration & WithUpdatedAt(UpdatedAtT &&value)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetUpdatedAt() const
IamAuthConfiguration & WithOperatorAppRoleArn(OperatorAppRoleArnT &&value)
IamAuthConfiguration & WithCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue