AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
BlockPublicAccessConfigurationMetadata.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/EMR_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EMR {
21namespace Model {
22
34 public:
39
41
44 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
45 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
46 template <typename CreationDateTimeT = Aws::Utils::DateTime>
47 void SetCreationDateTime(CreationDateTimeT&& value) {
48 m_creationDateTimeHasBeenSet = true;
49 m_creationDateTime = std::forward<CreationDateTimeT>(value);
50 }
51 template <typename CreationDateTimeT = Aws::Utils::DateTime>
53 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetCreatedByArn() const { return m_createdByArn; }
63 inline bool CreatedByArnHasBeenSet() const { return m_createdByArnHasBeenSet; }
64 template <typename CreatedByArnT = Aws::String>
65 void SetCreatedByArn(CreatedByArnT&& value) {
66 m_createdByArnHasBeenSet = true;
67 m_createdByArn = std::forward<CreatedByArnT>(value);
68 }
69 template <typename CreatedByArnT = Aws::String>
71 SetCreatedByArn(std::forward<CreatedByArnT>(value));
72 return *this;
73 }
75 private:
76 Aws::Utils::DateTime m_creationDateTime{};
77
78 Aws::String m_createdByArn;
79 bool m_creationDateTimeHasBeenSet = false;
80 bool m_createdByArnHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace EMR
85} // namespace Aws
AWS_EMR_API BlockPublicAccessConfigurationMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
BlockPublicAccessConfigurationMetadata & WithCreatedByArn(CreatedByArnT &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
BlockPublicAccessConfigurationMetadata & WithCreationDateTime(CreationDateTimeT &&value)
AWS_EMR_API BlockPublicAccessConfigurationMetadata(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue