AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociationStatus.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/ssm/model/AssociationStatusName.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SSM_API AssociationStatus();
40
41
43
46 inline const Aws::Utils::DateTime& GetDate() const{ return m_date; }
47 inline bool DateHasBeenSet() const { return m_dateHasBeenSet; }
48 inline void SetDate(const Aws::Utils::DateTime& value) { m_dateHasBeenSet = true; m_date = value; }
49 inline void SetDate(Aws::Utils::DateTime&& value) { m_dateHasBeenSet = true; m_date = std::move(value); }
50 inline AssociationStatus& WithDate(const Aws::Utils::DateTime& value) { SetDate(value); return *this;}
51 inline AssociationStatus& WithDate(Aws::Utils::DateTime&& value) { SetDate(std::move(value)); return *this;}
53
55
58 inline const AssociationStatusName& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const AssociationStatusName& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(AssociationStatusName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline AssociationStatus& WithName(const AssociationStatusName& value) { SetName(value); return *this;}
63 inline AssociationStatus& WithName(AssociationStatusName&& value) { SetName(std::move(value)); return *this;}
65
67
70 inline const Aws::String& GetMessage() const{ return m_message; }
71 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
72 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
73 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
74 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
75 inline AssociationStatus& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
76 inline AssociationStatus& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
77 inline AssociationStatus& WithMessage(const char* value) { SetMessage(value); return *this;}
79
81
84 inline const Aws::String& GetAdditionalInfo() const{ return m_additionalInfo; }
85 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
86 inline void SetAdditionalInfo(const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
87 inline void SetAdditionalInfo(Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
88 inline void SetAdditionalInfo(const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.assign(value); }
89 inline AssociationStatus& WithAdditionalInfo(const Aws::String& value) { SetAdditionalInfo(value); return *this;}
90 inline AssociationStatus& WithAdditionalInfo(Aws::String&& value) { SetAdditionalInfo(std::move(value)); return *this;}
91 inline AssociationStatus& WithAdditionalInfo(const char* value) { SetAdditionalInfo(value); return *this;}
93 private:
94
96 bool m_dateHasBeenSet = false;
97
99 bool m_nameHasBeenSet = false;
100
101 Aws::String m_message;
102 bool m_messageHasBeenSet = false;
103
104 Aws::String m_additionalInfo;
105 bool m_additionalInfoHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace SSM
110} // namespace Aws
const AssociationStatusName & GetName() const
void SetDate(const Aws::Utils::DateTime &value)
AssociationStatus & WithDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetDate() const
const Aws::String & GetAdditionalInfo() const
AssociationStatus & WithMessage(const char *value)
AssociationStatus & WithName(const AssociationStatusName &value)
void SetMessage(const Aws::String &value)
AssociationStatus & WithAdditionalInfo(const char *value)
AssociationStatus & WithAdditionalInfo(const Aws::String &value)
void SetName(AssociationStatusName &&value)
void SetAdditionalInfo(const Aws::String &value)
void SetDate(Aws::Utils::DateTime &&value)
void SetAdditionalInfo(Aws::String &&value)
void SetName(const AssociationStatusName &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(Aws::String &&value)
AssociationStatus & WithDate(const Aws::Utils::DateTime &value)
void SetAdditionalInfo(const char *value)
AssociationStatus & WithAdditionalInfo(Aws::String &&value)
AssociationStatus & WithName(AssociationStatusName &&value)
const Aws::String & GetMessage() const
AssociationStatus & WithMessage(const Aws::String &value)
AWS_SSM_API AssociationStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API AssociationStatus(Aws::Utils::Json::JsonView jsonValue)
AssociationStatus & WithMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue