AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TestAvailabilityConfigurationResult.h
1
6#pragma once
7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace WorkMail
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline bool GetTestPassed() const{ return m_testPassed; }
40 inline void SetTestPassed(bool value) { m_testPassed = value; }
41 inline TestAvailabilityConfigurationResult& WithTestPassed(bool value) { SetTestPassed(value); return *this;}
43
45
49 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
50 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
51 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
52 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
54 inline TestAvailabilityConfigurationResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
55 inline TestAvailabilityConfigurationResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const{ return m_requestId; }
61 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
62 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
63 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
64 inline TestAvailabilityConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
65 inline TestAvailabilityConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
66 inline TestAvailabilityConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
68 private:
69
70 bool m_testPassed;
71
72 Aws::String m_failureReason;
73
74 Aws::String m_requestId;
75 };
76
77} // namespace Model
78} // namespace WorkMail
79} // namespace Aws
AWS_WORKMAIL_API TestAvailabilityConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
TestAvailabilityConfigurationResult & WithFailureReason(Aws::String &&value)
TestAvailabilityConfigurationResult & WithRequestId(const char *value)
TestAvailabilityConfigurationResult & WithFailureReason(const char *value)
TestAvailabilityConfigurationResult & WithRequestId(const Aws::String &value)
TestAvailabilityConfigurationResult & WithFailureReason(const Aws::String &value)
AWS_WORKMAIL_API TestAvailabilityConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
TestAvailabilityConfigurationResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue