AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCelebrityInfoResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rekognition/model/KnownGender.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Rekognition
26{
27namespace Model
28{
30 {
31 public:
32 AWS_REKOGNITION_API GetCelebrityInfoResult();
35
36
38
41 inline const Aws::Vector<Aws::String>& GetUrls() const{ return m_urls; }
42 inline void SetUrls(const Aws::Vector<Aws::String>& value) { m_urls = value; }
43 inline void SetUrls(Aws::Vector<Aws::String>&& value) { m_urls = std::move(value); }
44 inline GetCelebrityInfoResult& WithUrls(const Aws::Vector<Aws::String>& value) { SetUrls(value); return *this;}
45 inline GetCelebrityInfoResult& WithUrls(Aws::Vector<Aws::String>&& value) { SetUrls(std::move(value)); return *this;}
46 inline GetCelebrityInfoResult& AddUrls(const Aws::String& value) { m_urls.push_back(value); return *this; }
47 inline GetCelebrityInfoResult& AddUrls(Aws::String&& value) { m_urls.push_back(std::move(value)); return *this; }
48 inline GetCelebrityInfoResult& AddUrls(const char* value) { m_urls.push_back(value); return *this; }
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline void SetName(const Aws::String& value) { m_name = value; }
57 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
58 inline void SetName(const char* value) { m_name.assign(value); }
59 inline GetCelebrityInfoResult& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline GetCelebrityInfoResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline GetCelebrityInfoResult& WithName(const char* value) { SetName(value); return *this;}
63
65
68 inline const KnownGender& GetKnownGender() const{ return m_knownGender; }
69 inline void SetKnownGender(const KnownGender& value) { m_knownGender = value; }
70 inline void SetKnownGender(KnownGender&& value) { m_knownGender = std::move(value); }
71 inline GetCelebrityInfoResult& WithKnownGender(const KnownGender& value) { SetKnownGender(value); return *this;}
72 inline GetCelebrityInfoResult& WithKnownGender(KnownGender&& value) { SetKnownGender(std::move(value)); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 inline GetCelebrityInfoResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline GetCelebrityInfoResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline GetCelebrityInfoResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
88
89 Aws::String m_name;
90
91 KnownGender m_knownGender;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace Rekognition
98} // namespace Aws
GetCelebrityInfoResult & WithUrls(const Aws::Vector< Aws::String > &value)
void SetUrls(Aws::Vector< Aws::String > &&value)
GetCelebrityInfoResult & WithKnownGender(const KnownGender &value)
GetCelebrityInfoResult & WithName(const Aws::String &value)
AWS_REKOGNITION_API GetCelebrityInfoResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCelebrityInfoResult & WithRequestId(Aws::String &&value)
GetCelebrityInfoResult & WithRequestId(const Aws::String &value)
GetCelebrityInfoResult & AddUrls(Aws::String &&value)
GetCelebrityInfoResult & AddUrls(const char *value)
GetCelebrityInfoResult & WithRequestId(const char *value)
GetCelebrityInfoResult & WithName(Aws::String &&value)
GetCelebrityInfoResult & WithName(const char *value)
void SetUrls(const Aws::Vector< Aws::String > &value)
GetCelebrityInfoResult & WithKnownGender(KnownGender &&value)
GetCelebrityInfoResult & WithUrls(Aws::Vector< Aws::String > &&value)
GetCelebrityInfoResult & AddUrls(const Aws::String &value)
AWS_REKOGNITION_API GetCelebrityInfoResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetUrls() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue