AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
FailedProfileOutboundRequest.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/ProfileOutboundRequestFailureCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ConnectCampaignsV2 {
21namespace Model {
22
29 public:
30 AWS_CONNECTCAMPAIGNSV2_API FailedProfileOutboundRequest() = default;
31 AWS_CONNECTCAMPAIGNSV2_API FailedProfileOutboundRequest(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetClientToken() const { return m_clientToken; }
38 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
39 template <typename ClientTokenT = Aws::String>
40 void SetClientToken(ClientTokenT&& value) {
41 m_clientTokenHasBeenSet = true;
42 m_clientToken = std::forward<ClientTokenT>(value);
43 }
44 template <typename ClientTokenT = Aws::String>
46 SetClientToken(std::forward<ClientTokenT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetId() const { return m_id; }
54 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
55 template <typename IdT = Aws::String>
56 void SetId(IdT&& value) {
57 m_idHasBeenSet = true;
58 m_id = std::forward<IdT>(value);
59 }
60 template <typename IdT = Aws::String>
62 SetId(std::forward<IdT>(value));
63 return *this;
64 }
66
68
69 inline ProfileOutboundRequestFailureCode GetFailureCode() const { return m_failureCode; }
70 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
72 m_failureCodeHasBeenSet = true;
73 m_failureCode = value;
74 }
76 SetFailureCode(value);
77 return *this;
78 }
80 private:
81 Aws::String m_clientToken;
82
83 Aws::String m_id;
84
86 bool m_clientTokenHasBeenSet = false;
87 bool m_idHasBeenSet = false;
88 bool m_failureCodeHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace ConnectCampaignsV2
93} // namespace Aws
AWS_CONNECTCAMPAIGNSV2_API FailedProfileOutboundRequest(Aws::Utils::Json::JsonView jsonValue)
FailedProfileOutboundRequest & WithFailureCode(ProfileOutboundRequestFailureCode value)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCAMPAIGNSV2_API FailedProfileOutboundRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API FailedProfileOutboundRequest()=default
FailedProfileOutboundRequest & WithClientToken(ClientTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue