AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SecurityConfigurationSummary.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
30 public:
31 AWS_EMR_API SecurityConfigurationSummary() = default;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
59 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
60 template <typename CreationDateTimeT = Aws::Utils::DateTime>
61 void SetCreationDateTime(CreationDateTimeT&& value) {
62 m_creationDateTimeHasBeenSet = true;
63 m_creationDateTime = std::forward<CreationDateTimeT>(value);
64 }
65 template <typename CreationDateTimeT = Aws::Utils::DateTime>
67 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_name;
73
74 Aws::Utils::DateTime m_creationDateTime{};
75 bool m_nameHasBeenSet = false;
76 bool m_creationDateTimeHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace EMR
81} // namespace Aws
AWS_EMR_API SecurityConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
SecurityConfigurationSummary & WithCreationDateTime(CreationDateTimeT &&value)
SecurityConfigurationSummary & WithName(NameT &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API SecurityConfigurationSummary()=default
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_EMR_API SecurityConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue