AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
SuccessfulRequest.h
1
6#pragma once
7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConnectCampaigns {
20namespace Model {
21
29 public:
30 AWS_CONNECTCAMPAIGNS_API SuccessfulRequest() = default;
31 AWS_CONNECTCAMPAIGNS_API SuccessfulRequest(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECTCAMPAIGNS_API SuccessfulRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTCAMPAIGNS_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>
45 SuccessfulRequest& WithClientToken(ClientTokenT&& value) {
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>
61 SuccessfulRequest& WithId(IdT&& value) {
62 SetId(std::forward<IdT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_clientToken;
68
69 Aws::String m_id;
70 bool m_clientTokenHasBeenSet = false;
71 bool m_idHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace ConnectCampaigns
76} // namespace Aws
AWS_CONNECTCAMPAIGNS_API SuccessfulRequest()=default
SuccessfulRequest & WithClientToken(ClientTokenT &&value)
AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCAMPAIGNS_API SuccessfulRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNS_API SuccessfulRequest(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue